From 2bc3bd3fcf0e008286680b0189f1e9bde6b074eb Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 25 Feb 2012 00:06:02 -0500 Subject: [PATCH] Do not send kills after sending XLines because it causes us to internally remove the user and then recieve a quit from the user (who is now nonexistant) once the IRCd processes the XLine --- modules/pseudoclients/operserv.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/pseudoclients/operserv.cpp b/modules/pseudoclients/operserv.cpp index 0224547eb..8b969489e 100644 --- a/modules/pseudoclients/operserv.cpp +++ b/modules/pseudoclients/operserv.cpp @@ -23,8 +23,6 @@ class SGLineManager : public XLineManager void OnMatch(User *u, XLine *x) anope_override { this->Send(u, x); - if (u) - u->Kill(Config->OperServ, x->Reason); } void OnExpire(XLine *x) anope_override @@ -101,12 +99,6 @@ class SQLineManager : public XLineManager void OnMatch(User *u, XLine *x) anope_override { this->Send(u, x); - - if (u) - { - Anope::string reason = "Q-Lined: " + x->Reason; - u->Kill(Config->OperServ, reason); - } } void OnExpire(XLine *x) anope_override @@ -148,12 +140,6 @@ class SNLineManager : public XLineManager void OnMatch(User *u, XLine *x) anope_override { this->Send(u, x); - - if (u) - { - Anope::string reason = "G-Lined: " + x->Reason; - u->Kill(Config->OperServ, reason); - } } void OnExpire(XLine *x) anope_override