From 95f4e29edda57c2d28c0f58c5a37fa58a0f2140f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 12 Oct 2020 17:47:41 +0100 Subject: [PATCH] Unset the account id before the account name on InspIRCd. This avoids the id being shown on the logout event. --- modules/protocol/inspircd3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/protocol/inspircd3.cpp b/modules/protocol/inspircd3.cpp index 2a77a8c7d..c7582f723 100644 --- a/modules/protocol/inspircd3.cpp +++ b/modules/protocol/inspircd3.cpp @@ -411,8 +411,8 @@ class InspIRCd3Proto : public IRCDProto void SendLogout(User *u) anope_override { - UplinkSocket::Message(Me) << "METADATA " << u->GetUID() << " accountname :"; UplinkSocket::Message(Me) << "METADATA " << u->GetUID() << " accountid :"; + UplinkSocket::Message(Me) << "METADATA " << u->GetUID() << " accountname :"; } void SendChannel(Channel *c) anope_override