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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/hs_off.cpp b/modules/commands/hs_off.cpp
index 46a83a4e5..45a8befd3 100644
--- a/modules/commands/hs_off.cpp
+++ b/modules/commands/hs_off.cpp
@@ -27,7 +27,7 @@ class CommandHSOff : public Command
User *u = source.u;
NickAlias *na = findnick(u->nick);
- if (!na || !na->hostinfo.HasVhost())
+ if (!na || !na->HasVhost())
source.Reply(HOST_NOT_ASSIGNED);
else
{