diff options
Diffstat (limited to 'src/core/hs_on.c')
-rw-r--r-- | src/core/hs_on.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hs_on.c b/src/core/hs_on.c index a9922e921..b1daf7275 100644 --- a/src/core/hs_on.c +++ b/src/core/hs_on.c @@ -25,7 +25,7 @@ class CommandHSOn : public Command CommandReturn Execute(User *u, const std::vector<ci::string> ¶ms) { NickAlias *na = findnick(u->nick); - if (na && u->nc == na->nc && na->hostinfo.HasVhost()) + if (na && u->Account() == na->nc && na->hostinfo.HasVhost()) { if (!na->hostinfo.GetIdent().empty()) notice_lang(Config.s_HostServ, u, HOST_IDENT_ACTIVATED, na->hostinfo.GetIdent().c_str(), na->hostinfo.GetHost().c_str()); |