1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 11:16:38 +02:00

Apply regex sqlines on connect too

This commit is contained in:
Adam
2016-01-23 08:58:08 -05:00
parent f91f375b70
commit d8eb3d4937
+4 -1
View File
@@ -92,7 +92,10 @@ class SQLineManager : public XLineManager
u->Kill(Config->GetClient("OperServ"), "Q-Lined: " + x->reason);
}
else if (x->IsRegex())
;
{
if (u)
u->Kill(Config->GetClient("OperServ"), "Q-Lined: " + x->reason);
}
else if (x->mask[0] != '#' || IRCD->CanSQLineChannel)
IRCD->SendSQLine(u, x);
}