1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 05:36:38 +02:00

Add support for Unreals extban ~a:

This commit is contained in:
Adam
2012-01-10 17:06:08 -05:00
parent 815e140ecf
commit 1e9d88af01
+7
View File
@@ -391,6 +391,13 @@ class UnrealExtBan : public ChannelModeList
if (u->HasMode(UMODE_REGISTERED) && mask.equals_ci(u->nick))
return true;
}
else if (mask.find("~a:") == 0)
{
Anope::string real_mask = mask.substr(3);
if (u->Account() && Anope::Match(u->Account()->display, real_mask))
return true;
}
return false;
}