kike: fix checking against channel masks
This commit is contained in:
parent
e9491ca85b
commit
8645f12f9f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user