1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 03:16:37 +02:00

unreal4: set +xt on chghost as unreal does

This commit is contained in:
Adam
2017-03-01 17:43:54 -05:00
parent 60339edf40
commit 1a96390826
+4
View File
@@ -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