From fef0cc1c29984d8199393111b5f78ab63f749ea3 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Wed, 8 Feb 2023 11:44:21 +0100 Subject: [PATCH] unreal4: set vhost/vident during SASL --- modules/protocol/unreal4.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/protocol/unreal4.cpp b/modules/protocol/unreal4.cpp index 98982cf1e..5c67b80a2 100644 --- a/modules/protocol/unreal4.cpp +++ b/modules/protocol/unreal4.cpp @@ -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; }