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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user