diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-09 22:42:26 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-09 22:42:26 +0200 |
commit | 8645f12f9faad312751fcff489eeda8bfb936b62 (patch) | |
tree | 6d62bd8c1ccc7e182c94ad9d0c10f02320253dea /src/kike.c | |
parent | e9491ca85b314925cee6dcc3733b010e61e95e9a (diff) | |
download | xK-8645f12f9faad312751fcff489eeda8bfb936b62.tar.gz xK-8645f12f9faad312751fcff489eeda8bfb936b62.tar.xz xK-8645f12f9faad312751fcff489eeda8bfb936b62.zip |
kike: fix checking against channel masks
Diffstat (limited to 'src/kike.c')
-rw-r--r-- | src/kike.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -749,7 +749,7 @@ client_in_mask_list (const struct client *c, const struct str_vector *mask) c->nickname, c->username, c->hostname); bool result = false; for (size_t i = 0; i < mask->len; i++) - if (!irc_fnmatch (client, mask->vector[i])) + if (!irc_fnmatch (mask->vector[i], client)) { result = true; break; |