diff options
-rw-r--r-- | modules/protocol/unreal4.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 |