1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 03:46:37 +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
@@ -669,7 +669,7 @@ struct IRCDMessageCapab : Message::Capab
ModeManager::AddChannelMode(new ChannelMode("NONOTICE", 'T'));
continue;
case 'G':
ModeManager::AddChannelMode(new ChannelMode("FILTER", 'G'));
ModeManager::AddChannelMode(new ChannelMode("CENSOR", 'G'));
continue;
case 'Z':
ModeManager::AddChannelMode(new ChannelModeUnrealSSL("", 'Z'));
@@ -1193,7 +1193,7 @@ class ProtoUnreal : public Module
ModeManager::AddUserMode(new UserModeOperOnly("SERV_ADMIN", 'A'));
ModeManager::AddUserMode(new UserMode("BOT", 'B'));
ModeManager::AddUserMode(new UserModeOperOnly("CO_ADMIN", 'C'));
ModeManager::AddUserMode(new UserMode("FILTER", 'G'));
ModeManager::AddUserMode(new UserMode("CENSOR", 'G'));
ModeManager::AddUserMode(new UserModeOperOnly("HIDEOPER", 'H'));
ModeManager::AddUserMode(new UserMode("HIDEIDLE", 'I'));
ModeManager::AddUserMode(new UserModeOperOnly("NETADMIN", 'N'));