1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Send the vhost/vident before the account name on InspIRCd.

This fixes IRCd-side account cloaks causing CHGHOST spam.
This commit is contained in:
Sadie Powell
2024-07-19 01:11:32 +01:00
parent 2de0dddb1c
commit 31bc597c81
+1
View File
@@ -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;
}