diff options
author | Sadie Powell <sadie@witchery.services> | 2024-07-19 01:11:32 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-07-19 01:11:32 +0100 |
commit | 31bc597c81fadcebe8a768d0e509bb961f7c10c3 (patch) | |
tree | 28f01e102ad8a0f91d7a4d40e7d75cef7412396e /modules | |
parent | 2de0dddb1c86b332b000d60dbdd81abe4f82cdb1 (diff) |
Send the vhost/vident before the account name on InspIRCd.
This fixes IRCd-side account cloaks causing CHGHOST spam.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/protocol/inspircd3.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/protocol/inspircd3.cpp b/modules/protocol/inspircd3.cpp index d3a717a3f..9e7598c79 100644 --- a/modules/protocol/inspircd3.cpp +++ b/modules/protocol/inspircd3.cpp @@ -445,6 +445,7 @@ class InspIRCd3Proto : public IRCDProto if (na->nc->HasExt("UNCONFIRMED")) return; + IRCD->SendVhost(u, na->GetVhostIdent(), na->GetVhostHost()); UplinkSocket::Message(Me) << "METADATA " << u->GetUID() << " accountid :" << na->nc->GetId(); UplinkSocket::Message(Me) << "METADATA " << u->GetUID() << " accountname :" << na->nc->display; } |