summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/channels.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/channels.c b/src/channels.c
index fbeddb633..867720125 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -2392,6 +2392,8 @@ Entry *elist_match_user(EList * list, User * u)
res = elist_match(list, u->nick, u->username, u->host, ip);
if (!res)
res = elist_match(list, u->nick, u->username, u->vhost, ip);
+ if (!res)
+ res = elist_match(list, u->nick, u->username, u->chost, ip);
if (host)
free(host);