From 54710a782b49f01a868987227e9b8748d28834cb Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 12 Aug 2011 01:51:14 -0400 Subject: Removed the unused ChannelModeBan code --- 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 1fb58844d..4f8bc5e6f 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -355,10 +355,10 @@ class UnrealIRCdProto : public IRCDProto } }; -template class UnrealExtBan : public T +class UnrealExtBan : public ChannelModeList { public: - UnrealExtBan(ChannelModeName mName, char modeChar) : T(mName, modeChar) { } + UnrealExtBan(ChannelModeName mName, char modeChar) : ChannelModeList(mName, modeChar) { } bool Matches(User *u, const Entry *e) { @@ -629,13 +629,13 @@ class Unreal32IRCdMessage : public IRCdMessage switch (modebuf[t]) { case 'b': - ModeManager::AddChannelMode(new UnrealExtBan(CMODE_BAN, 'b')); + ModeManager::AddChannelMode(new UnrealExtBan(CMODE_BAN, 'b')); continue; case 'e': - ModeManager::AddChannelMode(new UnrealExtBan(CMODE_EXCEPT, 'e')); + ModeManager::AddChannelMode(new UnrealExtBan(CMODE_EXCEPT, 'e')); continue; case 'I': - ModeManager::AddChannelMode(new UnrealExtBan(CMODE_INVITEOVERRIDE, 'I')); + ModeManager::AddChannelMode(new UnrealExtBan(CMODE_INVITEOVERRIDE, 'I')); continue; default: ModeManager::AddChannelMode(new ChannelModeList(CMODE_END, modebuf[t])); -- cgit