diff options
author | Adam <Adam@anope.org> | 2011-08-19 04:18:13 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-10 01:52:59 -0400 |
commit | 4fcb371bc8813cd647b7769a64d586e3a57d684d (patch) | |
tree | 836584fe2392b5ea21115111dbd470dbf04ce47b /modules/protocol/bahamut.cpp | |
parent | 6401d93b8e0ec5b6f68bd507dffa360b4d60d335 (diff) |
Track what "level" channel status modes are, which allows us to have chanserv/mode determine if a status mode can be set by users better
Diffstat (limited to 'modules/protocol/bahamut.cpp')
-rw-r--r-- | modules/protocol/bahamut.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp index 796e021e1..9aae47086 100644 --- a/modules/protocol/bahamut.cpp +++ b/modules/protocol/bahamut.cpp @@ -537,8 +537,8 @@ class ProtoBahamut : public Module ModeManager::AddChannelMode(new ChannelModeList(CMODE_BAN, 'b')); /* v/h/o/a/q */ - ModeManager::AddChannelMode(new ChannelModeStatus(CMODE_VOICE, 'v', '+')); - ModeManager::AddChannelMode(new ChannelModeStatus(CMODE_OP, 'o', '@')); + ModeManager::AddChannelMode(new ChannelModeStatus(CMODE_VOICE, 'v', '+', 0)); + ModeManager::AddChannelMode(new ChannelModeStatus(CMODE_OP, 'o', '@', 1)); /* Add channel modes */ ModeManager::AddChannelMode(new ChannelMode(CMODE_BLOCKCOLOR, 'c')); |