From 0fc791dce35df8281777065da0e1f36950d8db1a Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 1 Oct 2016 10:49:11 -0400 Subject: Apply regex sqlines on connect too --- modules/operserv/main/operserv.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/operserv/main/operserv.cpp b/modules/operserv/main/operserv.cpp index cd66482df..afed0783f 100644 --- a/modules/operserv/main/operserv.cpp +++ b/modules/operserv/main/operserv.cpp @@ -100,7 +100,10 @@ class SQLineManager : public XLineManager u->Kill(Config->GetClient("OperServ"), "Q-Lined: " + x->GetReason()); } else if (x->IsRegex()) - ; + { + if (u) + u->Kill(Config->GetClient("OperServ"), "Q-Lined: " + x->GetReason()); + } else if (x->GetMask()[0] != '#' || IRCD->CanSQLineChannel) IRCD->SendSQLine(u, x); } -- cgit