Move cmode +N to cmode +d, so that extensions/m_roleplay can retain cmode +N and maintain a consistent interface with charybdis.

This commit is contained in:
JD Horelick 2011-01-19 23:40:21 -05:00
parent a26bd77404
commit 0284952c9f
4 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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 */

View File

@ -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,