diff options
| author | Adam <Adam@anope.org> | 2016-10-01 10:49:11 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2016-10-01 10:49:48 -0400 |
| commit | 0fc791dce35df8281777065da0e1f36950d8db1a (patch) | |
| tree | 5ac6e04e0f112682c35a12927960b16746773495 /modules | |
| parent | b9436b12991c7a74fa539f8abee4af6d5a65dbba (diff) | |
Apply regex sqlines on connect too
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/operserv/main/operserv.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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); } |
