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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user