From 8000ae0c0fe596a0264e4ce15a7cda3ce42d7379 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 3 Jul 2016 12:36:34 -0400 Subject: [PATCH] #1677 apply sqlines even if the ircd doesn't on non opers --- modules/pseudoclients/operserv.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/pseudoclients/operserv.cpp b/modules/pseudoclients/operserv.cpp index 7b02a9745..f443aed95 100644 --- a/modules/pseudoclients/operserv.cpp +++ b/modules/pseudoclients/operserv.cpp @@ -97,7 +97,12 @@ class SQLineManager : public XLineManager u->Kill(Config->GetClient("OperServ"), "Q-Lined: " + x->reason); } else if (x->mask[0] != '#' || IRCD->CanSQLineChannel) + { IRCD->SendSQLine(u, x); + /* If it is an oper, assume they're walking it, otherwise kill for good measure */ + if (u && !u->HasMode("OPER")) + u->Kill(Config->GetClient("OperServ"), "Q-Lined: " + x->reason); + } } void SendDel(XLine *x) anope_override