1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 10:26:38 +02:00

Fix unsetting vhosts on unreal4 (#289).

This commit is contained in:
PeGaSuS
2022-02-13 15:30:09 +01:00
committed by GitHub
parent b5fe380011
commit 8dd1fb8ac2
-2
View File
@@ -82,10 +82,8 @@ class UnrealIRCdProto : public IRCDProto
void SendVhostDel(User *u) anope_override
{
BotInfo *HostServ = Config->GetClient("HostServ");
u->RemoveMode(HostServ, "CLOAK");
u->RemoveMode(HostServ, "VHOST");
ModeManager::ProcessModes();
u->SetMode(HostServ, "CLOAK");
}
void SendAkill(User *u, XLine *x) anope_override