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