summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-12 01:51:14 -0400
committerAdam <Adam@anope.org>2011-08-12 01:51:14 -0400
commit54710a782b49f01a868987227e9b8748d28834cb (patch)
tree1acc31bc5d8a05b30412129601ff3c6521d3b014 /modules/protocol/unreal.cpp
parentd44a1d08673c6f78df162a76616152fc2ea7cbd5 (diff)
Removed the unused ChannelModeBan code
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp10
1 files changed, 5 insertions, 5 deletions
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<typename T> 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<ChannelModeBan>(CMODE_BAN, 'b'));
+ ModeManager::AddChannelMode(new UnrealExtBan(CMODE_BAN, 'b'));
continue;
case 'e':
- ModeManager::AddChannelMode(new UnrealExtBan<ChannelModeList>(CMODE_EXCEPT, 'e'));
+ ModeManager::AddChannelMode(new UnrealExtBan(CMODE_EXCEPT, 'e'));
continue;
case 'I':
- ModeManager::AddChannelMode(new UnrealExtBan<ChannelModeList>(CMODE_INVITEOVERRIDE, 'I'));
+ ModeManager::AddChannelMode(new UnrealExtBan(CMODE_INVITEOVERRIDE, 'I'));
continue;
default:
ModeManager::AddChannelMode(new ChannelModeList(CMODE_END, modebuf[t]));