From 3d12752655405ae75265622cbec565f9efa23be3 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 28 Dec 2013 09:37:22 -0500 Subject: Fix naming collision between modes +g and +G on inspircd, rename the common badwords censor mode to censor --- modules/protocol/unreal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/protocol/unreal.cpp') diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index 67462432d..9bdc6ad7c 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -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')); -- cgit