summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);