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:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user