summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-10-12 17:47:41 +0100
committerSadie Powell <sadie@witchery.services>2020-10-12 17:47:41 +0100
commit95f4e29edda57c2d28c0f58c5a37fa58a0f2140f (patch)
treeacb1b07805a21dbbc6a0107c3dcd58e5cde3b5b2
parentcdf147f3511ef66c2854c90556943dfe69e609b6 (diff)
Unset the account id before the account name on InspIRCd.
This avoids the id being shown on the logout event.
-rw-r--r--modules/protocol/inspircd3.cpp2
1 files changed, 1 insertions, 1 deletions
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