From 059291bf9fd16e534d2f99bd5aad55d8362da701 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 6 Oct 2016 14:17:01 -0400 Subject: #1677 apply sqlines even if the ircd doesn't on non opers --- modules/operserv/main/operserv.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') diff --git a/modules/operserv/main/operserv.cpp b/modules/operserv/main/operserv.cpp index afed0783f..09dc3bbac 100644 --- a/modules/operserv/main/operserv.cpp +++ b/modules/operserv/main/operserv.cpp @@ -105,7 +105,12 @@ class SQLineManager : public XLineManager u->Kill(Config->GetClient("OperServ"), "Q-Lined: " + x->GetReason()); } else if (x->GetMask()[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->GetReason()); + } } void SendDel(XLine *x) override -- cgit