diff options
author | Adam <Adam@anope.org> | 2012-02-25 00:06:02 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-25 00:06:02 -0500 |
commit | 2bc3bd3fcf0e008286680b0189f1e9bde6b074eb (patch) | |
tree | 54ff517d845e2f2de2c31454a840cc116e9208be /modules/pseudoclients/operserv.cpp | |
parent | 83456f6040e484769e2615fc9dd1ce16b53b4457 (diff) |
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
Diffstat (limited to 'modules/pseudoclients/operserv.cpp')
-rw-r--r-- | modules/pseudoclients/operserv.cpp | 14 |
1 files changed, 0 insertions, 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 |