]> jfr.im git - irc/anope/anope.git/commitdiff
unreal4: set vhost/vident during SASL
authorBram Matthys <redacted>
Wed, 8 Feb 2023 10:44:21 +0000 (11:44 +0100)
committerSadie Powell <redacted>
Thu, 9 Feb 2023 16:05:50 +0000 (16:05 +0000)
modules/protocol/unreal4.cpp

index 98982cf1e37ccd9cdc9bcc17f7cca1766df8efa9..5c67b80a27b745b0211a80bb8677bce7350c74e7 100644 (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;
        }