diff options
author | Adam <Adam@anope.org> | 2012-02-26 20:18:22 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-26 20:18:22 -0500 |
commit | a78790eac4da788a8432d0b83fa72de7853dd697 (patch) | |
tree | 89d226a6d99a7e2fd13f441a027dde9a499065a7 /modules/pseudoclients/hostserv.cpp | |
parent | 07226feec4d5b54f69f5ef7808da1de0a5d6abc3 (diff) |
Fixed vhost check on identify
Diffstat (limited to 'modules/pseudoclients/hostserv.cpp')
-rw-r--r-- | modules/pseudoclients/hostserv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pseudoclients/hostserv.cpp b/modules/pseudoclients/hostserv.cpp index b8933ab11..80f050934 100644 --- a/modules/pseudoclients/hostserv.cpp +++ b/modules/pseudoclients/hostserv.cpp @@ -36,7 +36,7 @@ class HostServCore : public Module NickAlias *na = findnick(u->nick); if (!na || !na->HasVhost()) na = findnick(u->Account()->display); - if (!na) + if (!na || !na->HasVhost()) return; if (u->vhost.empty() || !u->vhost.equals_cs(na->GetVhostHost()) || (!na->GetVhostIdent().empty() && !u->GetVIdent().equals_cs(na->GetVhostIdent()))) |