summaryrefslogtreecommitdiff
path: root/modules/commands/hs_off.cpp
diff options
context:
space:
mode:
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";