summaryrefslogtreecommitdiff
path: root/modules/commands/hs_on.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/hs_on.cpp')
-rw-r--r--modules/commands/hs_on.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/hs_on.cpp b/modules/commands/hs_on.cpp
index 4b92bf0be..7331dd355 100644
--- a/modules/commands/hs_on.cpp
+++ b/modules/commands/hs_on.cpp
@@ -26,7 +26,7 @@ class CommandHSOn : public Command
return; // HostServ wouldn't even be loaded at this point
User *u = source.GetUser();
- const NickAlias *na = NickAlias::Find(u->nick);
+ const NickServ::Nick *na = NickServ::FindNick(u->nick);
if (na && u->Account() == na->nc && na->HasVhost())
{
if (!na->GetVhostIdent().empty())