summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeGaSuS <droider.pc@gmail.com>2022-02-13 15:30:09 +0100
committerGitHub <noreply@github.com>2022-02-13 14:30:09 +0000
commit8dd1fb8ac2cfb5dc79a0b28e887d9ecc58edf470 (patch)
treecbd21ad572b1cb788ee4801f790665c91fd011b4
parentb5fe380011bb2e7036a138c3e186a963f068671e (diff)
Fix unsetting vhosts on unreal4 (#289).
-rw-r--r--modules/protocol/unreal4.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/protocol/unreal4.cpp b/modules/protocol/unreal4.cpp
index 8ad5f25e6..43b767a66 100644
--- a/modules/protocol/unreal4.cpp
+++ b/modules/protocol/unreal4.cpp
@@ -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