1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 05:03:11 +02:00

Make ChannelModeStatus level mandatory

Levels are used in Channel::SetCorrectModes() when removing modes.
This commit is contained in:
Federico G. Schwindt
2013-07-23 14:39:50 +01:00
parent 378c9203df
commit e908dc0dc7
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -487,10 +487,10 @@ struct IRCDMessageCapab : Message::Capab
continue;
/* InspIRCd sends q and a here if they have no prefixes */
case 'q':
ModeManager::AddChannelMode(new ChannelModeStatus("OWNER", 'q', '@'));
ModeManager::AddChannelMode(new ChannelModeStatus("OWNER", 'q', '@', 4));
continue;
case 'a':
ModeManager::AddChannelMode(new ChannelModeStatus("PROTECT" , 'a', '@'));
ModeManager::AddChannelMode(new ChannelModeStatus("PROTECT" , 'a', '@', 3));
continue;
default:
ModeManager::AddChannelMode(new ChannelModeList("", modebuf[t]));