From f71c7865fc41387d36cc1d854a5f9c40bd5ae48d Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 6 Apr 2013 15:06:39 -0500 Subject: Fix generic mode support --- modules/protocol/unreal.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/protocol/unreal.cpp') 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])); } } } -- cgit