1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 06:23:13 +02:00

Fix naming collision between modes +g and +G on inspircd, rename the common badwords censor mode to censor

This commit is contained in:
Adam
2013-12-28 09:37:22 -05:00
parent 9c0ceed36a
commit 3d12752655
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -604,7 +604,7 @@ struct IRCDMessageCapab : Message::Capab
ModeManager::AddChannelMode(new ChannelMode("DELAYEDJOIN", 'D'));
continue;
case 'G':
ModeManager::AddChannelMode(new ChannelMode("FILTER", 'G'));
ModeManager::AddChannelMode(new ChannelMode("CENSOR", 'G'));
continue;
case 'K':
ModeManager::AddChannelMode(new ChannelMode("NOKNOCK", 'K'));
@@ -687,7 +687,7 @@ struct IRCDMessageCapab : Message::Capab
ModeManager::AddUserMode(new UserMode("BOT", 'B'));
continue;
case 'G':
ModeManager::AddUserMode(new UserMode("FILTER", 'G'));
ModeManager::AddUserMode(new UserMode("CENSOR", 'G'));
continue;
case 'H':
ModeManager::AddUserMode(new UserModeOperOnly("HIDEOPER", 'H'));