summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-07-12 19:53:26 +0000
committeradam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-07-12 19:53:26 +0000
commit23c654519cbb4a3fc67f08fbdbd35a92a94d488f (patch)
tree8e892c4f133d8bde6cacffc056f3575107400d65
parente669382cab4cb796fa8d60cf5fbe15126d705020 (diff)
Fixed elist_match_user to check against vhosts, patch from sergio
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2377 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--src/channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.c b/src/channels.c
index 517bb84db..52a6ccace 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -2296,7 +2296,7 @@ Entry *elist_match_user(EList * list, User * u)
/* Match what we ve got against the lists.. */
res = elist_match(list, u->nick, u->GetIdent().c_str(), u->host, ip);
if (!res)
- elist_match(list, u->nick, u->GetIdent().c_str(), u->vhost, ip);
+ res = elist_match(list, u->nick, u->GetIdent().c_str(), u->vhost, ip);
if (host)
delete [] host;