summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/protocol/unreal4.cpp')
-rw-r--r--modules/protocol/unreal4.cpp5
1 files changed, 5 insertions, 0 deletions
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;
}