summaryrefslogtreecommitdiff
path: root/modules/commands/hs_off.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-06-21 10:42:49 -0400
committerAdam <Adam@anope.org>2015-06-21 10:42:49 -0400
commitbb5c4906cc09df213c782342f96db00570aa8194 (patch)
treeb4c06283eb46b1c4da2b743c1cd96509074f8e47 /modules/commands/hs_off.cpp
parent444976e64f5e5eb261f9ac25585535ca593a24f9 (diff)
Also clear vhost on hs_off so the proto mods don't have to
Diffstat (limited to 'modules/commands/hs_off.cpp')
-rw-r--r--modules/commands/hs_off.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/commands/hs_off.cpp b/modules/commands/hs_off.cpp
index c3b5e8b50..75e6bc966 100644
--- a/modules/commands/hs_off.cpp
+++ b/modules/commands/hs_off.cpp
@@ -29,6 +29,7 @@ class CommandHSOff : public Command
source.Reply(HOST_NOT_ASSIGNED);
else
{
+ u->vhost.clear();
IRCD->SendVhostDel(u);
u->UpdateHost();
Log(LOG_COMMAND, source, this) << "to disable their vhost";