diff --git a/help/opers/cmode b/help/opers/cmode index 75de0a3..ba230c9 100644 --- a/help/opers/cmode +++ b/help/opers/cmode @@ -18,6 +18,8 @@ NO PARAMETERS: +r - Registered users only. Only users identified to services may join. +c - No color. All color codes in messages are stripped. + +d - No nickchanges. People on the channel will not be able to + change nick. +g - Free invite. Everyone may invite users. Significantly weakens +i control. +z - Op moderated. Messages blocked by +m, +b and +q are instead @@ -35,8 +37,6 @@ NO PARAMETERS: +T - Disable notice. All notices to the channel are disallowed. +E - No kicks. Chanops will not be able to use /kick on this channel. - +N - No nickchanges. People on the channel will not be able to - change nick. +G - Block messages in all caps. Messages that are more than 50% capital letters will be blocked. +J - Prevent autorejoin on kick. Users will not be able to diff --git a/help/users/cmode b/help/users/cmode index 5e40b79..1407534 100644 --- a/help/users/cmode +++ b/help/users/cmode @@ -18,6 +18,8 @@ NO PARAMETERS: +r - Registered users only. Only users identified to services may join. +c - No color. All color codes in messages are stripped. + +d - No nickchanges. People on the channel will not be able to + change nick. +g - Free invite. Everyone may invite users. Significantly weakens +i control. +z - Op moderated. Messages blocked by +m, +b and +q are instead @@ -35,8 +37,6 @@ NO PARAMETERS: +T - Disable notice. All notices to the channel are disallowed. +E - No kicks. Chanops will not be able to use /kick on this channel. - +N - No nickchanges. People on the channel will not be able to - change nick. +G - Block messages in all caps. Messages that are more than 50% capital letters will be blocked. +J - Prevent autorejoin on kick. Users will not be able to diff --git a/src/chmode.c b/src/chmode.c index d5fa3a3..f0ec84b 100644 --- a/src/chmode.c +++ b/src/chmode.c @@ -1843,7 +1843,7 @@ struct ChannelMode chmode_table[256] = {chm_simple, MODE_NOREPEAT }, /* K */ {chm_staff, MODE_EXLIMIT }, /* L */ {chm_hidden, MODE_NOOPERKICK }, /* M */ - {chm_simple, MODE_NONICK }, /* N */ + {chm_nosuch, 0 }, /* N */ {chm_nosuch, 0 }, /* O */ {chm_staff, MODE_PERMANENT }, /* P */ {chm_simple, MODE_DISFORWARD }, /* Q */ @@ -1865,7 +1865,7 @@ struct ChannelMode chmode_table[256] = {chm_admin, 0 }, /* a */ {chm_ban, CHFL_BAN }, /* b */ {chm_simple, MODE_NOCOLOR }, /* c */ - {chm_nosuch, 0 }, /* d */ + {chm_simple, MODE_NONICK }, /* d */ {chm_ban, CHFL_EXCEPTION }, /* e */ {chm_forward, 0 }, /* f */ {chm_simple, MODE_FREEINVITE }, /* g */ diff --git a/src/messages.tab b/src/messages.tab index b23ffa8..2572c81 100644 --- a/src/messages.tab +++ b/src/messages.tab @@ -470,7 +470,7 @@ static const char * replies[] = { /* 446 ERR_USERSDISABLED, */ NULL, /* 447 ERR_NOINVITE */ ":Can't send invite to %s (+V set)", /* 448 */ NULL, -/* 449 ERR_NONICK */ "%s :Cannot change nickname while on channel (+N set)", +/* 449 ERR_NONICK */ "%s :Cannot change nickname while on channel (+d set)", /* 450 */ NULL, /* 451 ERR_NOTREGISTERED, */ ":%s 451 * :You have not registered", /* 452 */ NULL,