summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-03-15 12:27:08 -0500
committerAdam <Adam@anope.org>2013-03-15 12:27:08 -0500
commit1a0e6b0be3f901462d4376c882f1dc7304bedaf9 (patch)
treeff20ba105783b7c79a14a257f79cabb5f3d63d0d /modules/protocol/unreal.cpp
parent81c89bb7080f17a4bdfd8912863285713e0822df (diff)
Allow autokicking real names, extbans, and channels
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp
index 3f1d33279..4bfc8e3fb 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -337,6 +337,11 @@ class UnrealIRCdProto : public IRCDProto
return IRCDProto::IsChannelValid(chan);
}
+ bool IsExtbanValid(const Anope::string &mask) anope_override
+ {
+ return mask.length() >= 4 && mask[0] == '~' && mask[2] == ':';
+ }
+
void SendLogin(User *u) anope_override
{
if (!u->Account())