summaryrefslogtreecommitdiff
path: root/src/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channels.c')
-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;