From 1a963908260519e4d3396f5655a9ffbefa2c27b2 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 1 Mar 2017 17:43:54 -0500 Subject: unreal4: set +xt on chghost as unreal does --- modules/protocol/unreal4.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/protocol/unreal4.cpp') diff --git a/modules/protocol/unreal4.cpp b/modules/protocol/unreal4.cpp index 1fe7a1d28..95618a1c7 100644 --- a/modules/protocol/unreal4.cpp +++ b/modules/protocol/unreal4.cpp @@ -204,6 +204,10 @@ class UnrealIRCdProto : public IRCDProto UplinkSocket::Message(Me) << "CHGIDENT " << u->GetUID() << " " << vIdent; if (!vhost.empty()) UplinkSocket::Message(Me) << "CHGHOST " << u->GetUID() << " " << vhost; + // Internally unreal sets +xt on chghost + BotInfo *bi = Config->GetClient("HostServ"); + u->SetMode(bi, "CLOAK"); + u->SetMode(bi, "VHOST"); } void SendConnect() anope_override -- cgit