summaryrefslogtreecommitdiff
path: root/modules/commands/hs_off.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-06-20 17:32:33 -0400
committerAdam <Adam@anope.org>2015-06-20 17:33:13 -0400
commit444976e64f5e5eb261f9ac25585535ca593a24f9 (patch)
tree6148d2154d1ed8d61fb12d92c40d2d42cd2a2283 /modules/commands/hs_off.cpp
parent65bf84cfb59082f122ee3b05ff3b85aa8550f648 (diff)
Update host on hs off too
Protocol modules which don't trigger this by causing a mode change currently desync
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 96d5fccca..c3b5e8b50 100644
--- a/modules/commands/hs_off.cpp
+++ b/modules/commands/hs_off.cpp
@@ -30,6 +30,7 @@ class CommandHSOff : public Command
else
{
IRCD->SendVhostDel(u);
+ u->UpdateHost();
Log(LOG_COMMAND, source, this) << "to disable their vhost";
source.Reply(_("Your vhost was removed and the normal cloaking restored."));
}