diff options
author | Adam <Adam@anope.org> | 2013-07-26 07:36:17 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-26 07:38:42 -0400 |
commit | 2450a64bf4dc55635c9f4c1c829f149dc6621b41 (patch) | |
tree | e946c4a76eb841b80671d6da6d6ad3e3a56a0711 /src/protocol.cpp | |
parent | b48293a6327a5e28baf528cda004c1d5aeea872d (diff) |
Interally quit servers when juped
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index ccd58c95f..15b39b971 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -263,7 +263,8 @@ void IRCDProto::SendGlobops(const BotInfo *source, const char *fmt, ...) void IRCDProto::SendSquit(Server *s, const Anope::string &message) { - UplinkSocket::Message() << "SQUIT " << s->GetName() << " :" << message; + UplinkSocket::Message() << "SQUIT " << s->GetSID() << " :" << message; + s->Delete(message); } void IRCDProto::SendNickChange(const User *u, const Anope::string &newnick) |