From 8645f12f9faad312751fcff489eeda8bfb936b62 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sat, 9 Aug 2014 22:42:26 +0200
Subject: kike: fix checking against channel masks
---
src/kike.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
cgit v1.2.3-70-g09d2