diff options
Diffstat (limited to 'modules/hostserv/hostserv.cpp')
-rw-r--r-- | modules/hostserv/hostserv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hostserv/hostserv.cpp b/modules/hostserv/hostserv.cpp index 81257cf4f..39b49ec29 100644 --- a/modules/hostserv/hostserv.cpp +++ b/modules/hostserv/hostserv.cpp @@ -43,7 +43,7 @@ public: const NickAlias *na = NickAlias::Find(u->nick); if (!na || na->nc != u->Account() || !na->HasVHost()) - na = NickAlias::Find(u->Account()->display); + na = u->AccountNick(); if (!na || !na->HasVHost()) return; |