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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user