1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 16:26:38 +02:00

Allow autokicking real names, extbans, and channels

This commit is contained in:
Adam
2013-03-15 12:27:08 -05:00
parent 81c89bb708
commit 1a0e6b0be3
7 changed files with 87 additions and 53 deletions
+5
View File
@@ -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())