diff options
author | Adam <Adam@anope.org> | 2013-04-06 15:06:39 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-04-06 15:06:39 -0500 |
commit | f71c7865fc41387d36cc1d854a5f9c40bd5ae48d (patch) | |
tree | 6412169e3d50f7a73e86c9f1cc5927d2c92354cd /modules/protocol/unreal.cpp | |
parent | 4ecf20b3f5d31fd7f7958f6940d4ac7a27192954 (diff) |
Fix generic mode support
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r-- | modules/protocol/unreal.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index 4bfc8e3fb..984277c14 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -538,7 +538,7 @@ struct IRCDMessageCapab : Message::Capab ModeManager::AddChannelMode(new UnrealExtBan("INVITEOVERRIDE", 'I')); continue; default: - ModeManager::AddChannelMode(new ChannelModeList("END", modebuf[t])); + ModeManager::AddChannelMode(new ChannelModeList("", modebuf[t])); } } @@ -557,7 +557,7 @@ struct IRCDMessageCapab : Message::Capab ModeManager::AddChannelMode(new ChannelModeParam("REDIRECT", 'L')); continue; default: - ModeManager::AddChannelMode(new ChannelModeParam("END", modebuf[t])); + ModeManager::AddChannelMode(new ChannelModeParam("", modebuf[t])); } } @@ -573,7 +573,7 @@ struct IRCDMessageCapab : Message::Capab ModeManager::AddChannelMode(new ChannelModeParam("JOINFLOOD", 'j', true)); continue; default: - ModeManager::AddChannelMode(new ChannelModeParam("END", modebuf[t], true)); + ModeManager::AddChannelMode(new ChannelModeParam("", modebuf[t], true)); } } @@ -649,10 +649,10 @@ struct IRCDMessageCapab : Message::Capab ModeManager::AddChannelMode(new ChannelMode("FILTER", 'G')); continue; case 'Z': - ModeManager::AddChannelMode(new ChannelModeUnrealSSL("END", 'Z')); + ModeManager::AddChannelMode(new ChannelModeUnrealSSL("", 'Z')); continue; default: - ModeManager::AddChannelMode(new ChannelMode("END", modebuf[t])); + ModeManager::AddChannelMode(new ChannelMode("", modebuf[t])); } } } |