1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 22:16:37 +02:00

unreal4: set vhost/vident during SASL

This commit is contained in:
Bram Matthys
2023-02-08 11:44:21 +01:00
committed by Sadie Powell
parent f0ad0b4f0a
commit fef0cc1c29
+5
View File
@@ -407,6 +407,11 @@ class UnrealIRCdProto : public IRCDProto
{
distmask = uid.substr(0, p);
}
if (!vident.empty())
UplinkSocket::Message(Me) << "CHGIDENT " << uid << " " << vident;
if (!vhost.empty())
UplinkSocket::Message(Me) << "CHGHOST " << uid << " " << vhost;
UplinkSocket::Message(Me) << "SVSLOGIN " << distmask << " " << uid << " " << acc;
}