diff options
author | Adam <Adam@anope.org> | 2013-02-16 03:59:28 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-02-16 03:59:28 -0500 |
commit | 3ab6706993a50b7c65b9007ead7d13a9ce3010e6 (patch) | |
tree | 3da63bde81eaf6cffe44ce09b6752773635e051f /modules/protocol/inspircd12.cpp | |
parent | c40e9c3996bb8cdbb1d5ee4829ae40157d57c855 (diff) |
InsIRCd only sends QUIT on KILL for users 1 hop from us, so always internally kill users that we kill. Bug #1481
Diffstat (limited to 'modules/protocol/inspircd12.cpp')
-rw-r--r-- | modules/protocol/inspircd12.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/protocol/inspircd12.cpp b/modules/protocol/inspircd12.cpp index 55ab40cd8..f42b97696 100644 --- a/modules/protocol/inspircd12.cpp +++ b/modules/protocol/inspircd12.cpp @@ -35,6 +35,12 @@ class ChannelModeFlood : public ChannelModeParam class InspIRCd12Proto : public IRCDProto { private: + void SendSVSKillInternal(const BotInfo *source, User *user, const Anope::string &buf) anope_override + { + IRCDProto::SendSVSKillInternal(source, user, buf); + user->KillInternal(source ? source->nick : Me->GetName(), buf); + } + void SendChgIdentInternal(const Anope::string &nick, const Anope::string &vIdent) { if (!Servers::Capab.count("CHGIDENT")) |