From a78790eac4da788a8432d0b83fa72de7853dd697 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 26 Feb 2012 20:18:22 -0500 Subject: [PATCH] Fixed vhost check on identify --- modules/pseudoclients/hostserv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())))