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 8467 by michael, Tue Mar 27 18:49:15 2018 UTC vs.
Revision 8468 by michael, Tue Apr 3 11:23:28 2018 UTC

# Line 77 | Line 77 | enum
77   /* channel modes ONLY */
78   enum
79   {
80 <  MODE_PRIVATE    = 1 <<  0,  /**< */
81 <  MODE_SECRET     = 1 <<  1,  /**< Channel does not show up on NAMES or LIST */
82 <  MODE_MODERATED  = 1 <<  2,  /**< Users without +v/+h/+o cannot send text to the channel */
83 <  MODE_TOPICLIMIT = 1 <<  3,  /**< Only chanops can change the topic */
84 <  MODE_INVITEONLY = 1 <<  4,  /**< Only invited users may join this channel */
85 <  MODE_NOPRIVMSGS = 1 <<  5,  /**< Users must be in the channel to send text to it */
86 <  MODE_SSLONLY    = 1 <<  6,  /**< Prevents anyone who isn't connected via SSL/TLS from joining the channel */
87 <  MODE_OPERONLY   = 1 <<  7,  /**< Prevents anyone who hasn't obtained IRC operator status from joining the channel */
88 <  MODE_REGISTERED = 1 <<  8,  /**< Channel has been registered with ChanServ */
89 <  MODE_REGONLY    = 1 <<  9,  /**< Only registered clients may join a channel with that mode set */
90 <  MODE_NOCTRL     = 1 << 10,  /**< Prevents users from sending messages containing control codes to the channel */
91 <  MODE_MODREG     = 1 << 11,  /**< Unregistered/unidentified clients cannot send text to the channel */
92 <  MODE_NOCTCP     = 1 << 12,  /**< Clients cannot send CTCP messages to the channel */
93 <  MODE_NONOTICE   = 1 << 13,  /**< Clients cannot send NOTICE to the channel */
94 <  MODE_HIDEBMASKS = 1 << 14,  /**< Hides +b/+e/+I lists/changes for non-chanops everywhere */
95 <  MODE_EXTLIMIT   = 1 << 15   /**< Channel can make use of the extended ban list limit */
80 >  MODE_PRIVATE      = 1 <<  0,  /**< */
81 >  MODE_SECRET       = 1 <<  1,  /**< Channel does not show up on NAMES or LIST */
82 >  MODE_MODERATED    = 1 <<  2,  /**< Users without +v/+h/+o cannot send text to the channel */
83 >  MODE_TOPICLIMIT   = 1 <<  3,  /**< Only chanops can change the topic */
84 >  MODE_INVITEONLY   = 1 <<  4,  /**< Only invited users may join this channel */
85 >  MODE_NOPRIVMSGS   = 1 <<  5,  /**< Users must be in the channel to send text to it */
86 >  MODE_SSLONLY      = 1 <<  6,  /**< Prevents anyone who isn't connected via SSL/TLS from joining the channel */
87 >  MODE_OPERONLY     = 1 <<  7,  /**< Prevents anyone who hasn't obtained IRC operator status from joining the channel */
88 >  MODE_REGISTERED   = 1 <<  8,  /**< Channel has been registered with ChanServ */
89 >  MODE_REGONLY      = 1 <<  9,  /**< Only registered clients may join a channel with that mode set */
90 >  MODE_NOCTRL       = 1 << 10,  /**< Prevents users from sending messages containing control codes to the channel */
91 >  MODE_MODREG       = 1 << 11,  /**< Unregistered/unidentified clients cannot send text to the channel */
92 >  MODE_NOCTCP       = 1 << 12,  /**< Clients cannot send CTCP messages to the channel */
93 >  MODE_NONOTICE     = 1 << 13,  /**< Clients cannot send NOTICE to the channel */
94 >  MODE_HIDEBMASKS   = 1 << 14,  /**< Hides +b/+e/+I lists/changes for non-chanops everywhere */
95 >  MODE_EXTLIMIT     = 1 << 15,  /**< Channel can make use of the extended ban list limit */
96 >  MODE_NONICKCHANGE = 1 << 16   /**< User is prevented from changing their nick when in this channel */
97   };
98  
99   #define HasCMode(x, y) ((x)->mode.mode &   (y))

Diff Legend

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