From bb5c4906cc09df213c782342f96db00570aa8194 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 21 Jun 2015 10:42:49 -0400 Subject: Also clear vhost on hs_off so the proto mods don't have to --- modules/commands/hs_off.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/commands/hs_off.cpp') 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"; -- cgit