diff options
-rw-r--r-- | modules/operserv/main/operserv.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 |