"PUBCMD: Restrictions to use commands in public.",
"INVITEME: Minimum level for users to use INVITEME or AUTOINVITE.",
"USERINFO: Minimum level for users to show an infoline on join.",
- "ENFOPS: Restrictions for opping users.",
- "ENFHALFOPS: Restrictions for halfopping users.",
- "ENFMODES: Restrictions to change the default modes.",
- "ENFTOPIC: Restrictions on changing the topic.",
+ "ENFOPS: Who can op users.",
+ "ENFHALFOPS: Who can half-op users.",
+ "ENFMODES: Who can change the channel modes.",
+ "ENFTOPIC: Who can chang the topic.",
"TOPICSNARF: Manual topics changes (by /TOPIC) from users this level and above will change the default $b$C$b topic.",
"SETTERS: Who may change channel settings (using $bSET$b).",
- "CTCPUSERS: Who is allowed to send CTCPs to the channel.",
- "CTCPREACTION: What happens when a disallowed CTCP is sent to the channel.",
+ "CTCPREACTION: What happens when a CTCP is sent to the channel.",
"VOICE: Who should be auto-voiced in the channel.",
"PROTECT: The protection level $b$C$b provides.",
"TOYS: Toggles how $b$C$b will respond to toy commands (!8ball etc).",
"$b3$b Refresh every 12 hours.",
"$b4$b Refresh every 24 hours.",
"$uSee Also:$u set, set topic");
-"SET CTCPUSERS" ("/msg $C SET <#channel> CTCPUSERS <value>",
- "This setting controls who is allowed to send CTCPs to the channel. CTCP ACTION, the way that /me is implemented, are always allowed. For any other CTCP, the user must have this access level. 501 indicates no users may use CTCPs in the channel.",
- "If a user below the specified level sends a CTCP (besides ACTION) to the channel, the enforcement is specified by the $bCTCPReaction$b setting.",
- "$uSee Also:$u set, set ctcpreaction");
"SET CTCPREACTION" ("/msg $C SET <#channel> CTCPREACTION <value>",
"This setting controls what happens to those who send disallowed CTCPs to the channel:",
- "$b0$b Kick on disallowed CTCPs.",
- "$b1$b Kickban on disallowed CTCPs.",
- "$b2$b Short timed ban (defaults to 3 minutes) on disallowed CTCPs.",
- "$b3$b Long timed ban (defaults to 1 hour) on disallowed CTCPs.",
+ "$b0$b CTCPs are allowed. Do nothing.",
+ "$b1$b Kick on disallowed CTCPs.",
+ "$b2$b Kickban on disallowed CTCPs.",
+ "$b3$b Short timed ban (defaults to 3 minutes) on disallowed CTCPs.",
+ "$b4$b Long timed ban (defaults to 1 hour) on disallowed CTCPs.",
"$uSee Also:$u set, set ctcpusers");
"SET DEFAULTS" ("/msg $C SET <#channel> DEFAULTS [<confirmation>]",
"With the proper confirmation string, resets all the options for the channel to their default values.",
case 'T': do_chan_mode(MODE_NOAMSG); break;
case 'O': do_chan_mode(MODE_OPERSONLY); break;
case 'Z': do_chan_mode(MODE_SSLONLY); break;
+ case 'L': do_chan_mode(MODE_HIDEMODE); break;
case 'z':
if (!(flags & MCP_REGISTERED)) {
do_chan_mode(MODE_REGISTERED);
return NULL;
}
break;
-// uncomment this when ssl is enabled on the network.
-// case 'Z': do_chan_mode(MODE_SSLONLY); break;
#undef do_chan_mode
case 'l':
if (add) {
DO_MODE_CHAR(OPERSONLY, 'O');
DO_MODE_CHAR(REGISTERED, 'z');
DO_MODE_CHAR(SSLONLY, 'Z');
+ DO_MODE_CHAR(HIDEMODE, 'L');
#undef DO_MODE_CHAR
if (change->modes_clear & channel->modes & MODE_KEY)
mod_chanmode_append(&chbuf, 'k', channel->key);
DO_MODE_CHAR(OPERSONLY, 'O');
DO_MODE_CHAR(REGISTERED, 'z');
DO_MODE_CHAR(SSLONLY, 'Z');
+ DO_MODE_CHAR(HIDEMODE, 'L');
#undef DO_MODE_CHAR
if(change->modes_set & MODE_KEY)
mod_chanmode_append(&chbuf, 'k', change->new_key);
DO_MODE_CHAR(OPERSONLY, 'O');
DO_MODE_CHAR(REGISTERED, 'z');
DO_MODE_CHAR(SSLONLY, 'Z');
+ DO_MODE_CHAR(HIDEMODE, 'L');
#undef DO_MODE_CHAR
}
if (change->modes_set) {
DO_MODE_CHAR(OPERSONLY, 'O');
DO_MODE_CHAR(REGISTERED, 'z');
DO_MODE_CHAR(SSLONLY, 'Z');
+ DO_MODE_CHAR(HIDEMODE, 'L');
#undef DO_MODE_CHAR
switch (change->modes_set & (MODE_KEY|MODE_LIMIT)) {
case MODE_KEY|MODE_LIMIT:
case 'O': remove |= MODE_OPERSONLY; break;
case 'z': remove |= MODE_REGISTERED; break;
case 'Z': remove |= MODE_SSLONLY; break;
+ case 'L': remove |= MODE_HIDEMODE; break;
}
}