summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-26 19:49:02 -0500
committerAdam <Adam@anope.org>2012-02-26 19:49:02 -0500
commit07226feec4d5b54f69f5ef7808da1de0a5d6abc3 (patch)
treefa16a977dfdf5faa0b8063fc59ff5f2837dc251c /modules/protocol/plexus.cpp
parente73013830d344b83e588516fa622822e5a11c895 (diff)
Track plexus umode and cmode +C and renamed UMODE_NO_CTCP to match up with the names of other modes.
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp
index 983e52630..3a4d92a8e 100644
--- a/modules/protocol/plexus.cpp
+++ b/modules/protocol/plexus.cpp
@@ -593,6 +593,7 @@ class ProtoPlexus : public Module
ModeManager::AddUserMode(new UserMode(UMODE_OPER, 'o'));
ModeManager::AddUserMode(new UserMode(UMODE_SNOMASK, 's'));
ModeManager::AddUserMode(new UserMode(UMODE_WALLOPS, 'w'));
+ ModeManager::AddUserMode(new UserMode(UMODE_NOCTCP, 'C'));
ModeManager::AddUserMode(new UserMode(UMODE_DEAF, 'D'));
ModeManager::AddUserMode(new UserMode(UMODE_SOFTCALLERID, 'G'));
ModeManager::AddUserMode(new UserMode(UMODE_NETADMIN, 'N'));
@@ -622,6 +623,7 @@ class ProtoPlexus : public Module
/* Add channel modes */
ModeManager::AddChannelMode(new ChannelMode(CMODE_BANDWIDTH, 'B'));
+ ModeManager::AddChannelMode(new ChannelMode(CMODE_NOCTCP, 'C'));
ModeManager::AddChannelMode(new ChannelMode(CMODE_REGMODERATED, 'M'));
ModeManager::AddChannelMode(new ChannelMode(CMODE_NONOTICE, 'N'));
ModeManager::AddChannelMode(new ChannelModeOper('O'));