diff options
author | Alexander Barton <alex@barton.de> | 2014-03-03 01:27:03 +0100 |
---|---|---|
committer | Alexander Barton <alex@barton.de> | 2014-03-05 10:26:54 +0100 |
commit | 547fe0da1a14f91eab55670b7a2b7c1e4af515b1 (patch) | |
tree | ffc39349e5a803b0fb3bef5ed5298ccd894a476f /modules/protocol/ngircd.cpp | |
parent | 09bec79b473fad40268f7b25b92c4979563829c4 (diff) |
ngircd protocol module: really kill users
ngIRCd doesn't send a QUIT for each user KILL'ed, so kill them immediately.
Diffstat (limited to 'modules/protocol/ngircd.cpp')
-rw-r--r-- | modules/protocol/ngircd.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp index cd07866f2..b0b2bb522 100644 --- a/modules/protocol/ngircd.cpp +++ b/modules/protocol/ngircd.cpp @@ -2,7 +2,7 @@ * ngIRCd Protocol module for Anope IRC Services * * (C) 2012 Anope Team <team@anope.org> - * (C) 2011-2012 Alexander Barton <alex@barton.de> + * (C) 2011-2012, 2014 Alexander Barton <alex@barton.de> * (C) 2011 Anope Team <team@anope.org> * * Please read COPYING and README for further details. @@ -15,6 +15,12 @@ class ngIRCdProto : public IRCDProto { + void SendSVSKillInternal(const MessageSource &source, User *user, const Anope::string &buf) anope_override + { + IRCDProto::SendSVSKillInternal(source, user, buf); + user->KillInternal(source, buf); + } + public: ngIRCdProto(Module *creator) : IRCDProto(creator, "ngIRCd") { |