summaryrefslogtreecommitdiff
path: root/src/kike.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kike.c')
-rw-r--r--src/kike.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kike.c b/src/kike.c
index c191e02..b5ebc2e 100644
--- a/src/kike.c
+++ b/src/kike.c
@@ -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;