kike: fix checking against channel masks

This commit is contained in:
Přemysl Eric Janouch 2014-08-09 22:42:26 +02:00
parent e9491ca85b
commit 8645f12f9f
1 changed files with 1 additions and 1 deletions

View File

@ -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;