summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-07-12 19:52:32 +0000
committeradam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-07-12 19:52:32 +0000
commit2629a580a1349f385f95070a123d4126efbd70a0 (patch)
treecad27cc23d1fa2e55f4062690848c72adc155ef5
parentcfc81d5acaccec477050273f3d36aacc84d86aaf (diff)
Fixed elist_match_user to check against vhosts, patch from sergio
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2376 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 1aeb2b305..bed260da9 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -2331,7 +2331,7 @@ Entry *elist_match_user(EList * list, User * u)
/* Match what we ve got against the lists.. */
res = elist_match(list, u->nick, u->username, u->host, ip);
if (!res)
- elist_match(list, u->nick, u->username, u->vhost, ip);
+ res = elist_match(list, u->nick, u->username, u->vhost, ip);
if (host)
free(host);