summaryrefslogtreecommitdiff
path: root/modules/hostserv/hs_off.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hostserv/hs_off.cpp')
-rw-r--r--modules/hostserv/hs_off.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/hostserv/hs_off.cpp b/modules/hostserv/hs_off.cpp
index 8e4036726..8689ff919 100644
--- a/modules/hostserv/hs_off.cpp
+++ b/modules/hostserv/hs_off.cpp
@@ -26,15 +26,15 @@ public:
User *u = source.GetUser();
const NickAlias *na = NickAlias::Find(u->nick);
- if (!na || na->nc != u->Account() || !na->HasVhost())
+ if (!na || na->nc != u->Account() || !na->HasVHost())
na = NickAlias::Find(u->Account()->display);
- if (!na || !na->HasVhost())
+ if (!na || !na->HasVHost())
source.Reply(HOST_NOT_ASSIGNED);
else
{
u->vhost.clear();
- IRCD->SendVhostDel(u);
+ 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."));