ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/channel_mode.h
(Generate patch)

Comparing ircd-hybrid/trunk/include/channel_mode.h (file contents):
Revision 8039 by michael, Sat Dec 31 13:57:08 2016 UTC vs.
Revision 8040 by michael, Sat Mar 18 16:20:24 2017 UTC

# Line 38 | Line 38 | enum { MAXMODEPARAMS = 6 };
38  
39   enum
40   {
41 <  MODE_QUERY =  0,
42 <  MODE_ADD   =  1,
43 <  MODE_DEL   = -1
41 >  MODE_QUERY = 0,
42 >  MODE_DEL   = 1,
43 >  MODE_ADD   = 2
44   };
45  
46   enum
# Line 90 | Line 90 | enum
90    MODE_NOCTRL     = 0x00000400U,  /**< Prevents users from sending messages containing control codes to the channel */
91    MODE_MODREG     = 0x00000800U,  /**< Unregistered/unidentified clients cannot send text to the channel */
92    MODE_NOCTCP     = 0x00001000U,  /**< Clients cannot send CTCP messages to the channel */
93 <  MODE_NONOTICE   = 0x00002000U   /**< Clients cannot send NOTICE to the channel */
93 >  MODE_NONOTICE   = 0x00002000U,  /**< Clients cannot send NOTICE to the channel */
94 >  MODE_HIDEBMASKS = 0x00004000U   /**< Hides +b/+e/+I lists/changes for non-chanops everywhere */
95   };
96  
97   /* name invisible */
# Line 113 | Line 114 | struct ChModeChange
114    const char *arg;
115    const char *id;
116    int dir;
117 +  unsigned int flags;
118   };
119  
120   struct mode_letter

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)