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);
|
c->nickname, c->username, c->hostname);
|
||||||
bool result = false;
|
bool result = false;
|
||||||
for (size_t i = 0; i < mask->len; i++)
|
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;
|
result = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue