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 c0d51f884..4923d390d 100644
--- a/modules/commands/hs_off.cpp
+++ b/modules/commands/hs_off.cpp
@@ -23,7 +23,7 @@ class CommandHSOff : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) override
{
User *u = source.GetUser();
- const NickAlias *na = NickAlias::Find(u->nick);
+ const NickServ::Nick *na = NickServ::FindNick(u->nick);
if (!na || !na->HasVhost())
source.Reply(HOST_NOT_ASSIGNED);