diff options
author | Federico G. Schwindt <fgsch@lodoss.net> | 2013-07-23 14:39:50 +0100 |
---|---|---|
committer | Federico G. Schwindt <fgsch@lodoss.net> | 2013-07-23 18:03:32 +0100 |
commit | e908dc0dc75c63699ffbffe9246e30420ee51f04 (patch) | |
tree | 4b5f9de4213ac3e8faa4217014f4fe2822c71eda /modules/protocol/ngircd.cpp | |
parent | 378c9203df121244f2e23e78f2b134755f491d4c (diff) |
Make ChannelModeStatus level mandatory
Levels are used in Channel::SetCorrectModes() when removing modes.
Diffstat (limited to 'modules/protocol/ngircd.cpp')
-rw-r--r-- | modules/protocol/ngircd.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp index ff34d80bf..0b76cddb8 100644 --- a/modules/protocol/ngircd.cpp +++ b/modules/protocol/ngircd.cpp @@ -618,11 +618,11 @@ class ProtongIRCd : public Module ModeManager::AddChannelMode(new ChannelModeList("INVITEOVERRIDE", 'I')); /* Add channel user modes */ - ModeManager::AddChannelMode(new ChannelModeStatus("VOICE", 'v', '+')); - ModeManager::AddChannelMode(new ChannelModeStatus("HALFOP", 'h', '%')); - ModeManager::AddChannelMode(new ChannelModeStatus("OP", 'o', '@')); - ModeManager::AddChannelMode(new ChannelModeStatus("PROTECT", 'a', '&')); - ModeManager::AddChannelMode(new ChannelModeStatus("OWNER", 'q','~')); + ModeManager::AddChannelMode(new ChannelModeStatus("VOICE", 'v', '+', 0)); + ModeManager::AddChannelMode(new ChannelModeStatus("HALFOP", 'h', '%', 1)); + ModeManager::AddChannelMode(new ChannelModeStatus("OP", 'o', '@', 2)); + ModeManager::AddChannelMode(new ChannelModeStatus("PROTECT", 'a', '&', 3)); + ModeManager::AddChannelMode(new ChannelModeStatus("OWNER", 'q', '~', 4)); /* Add channel modes */ ModeManager::AddChannelMode(new ChannelMode("INVITE", 'i')); |