diff options
Diffstat (limited to 'src/core/masks.c')
-rw-r--r-- | src/core/masks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/masks.c b/src/core/masks.c index 92318765..cc28b3bf 100644 --- a/src/core/masks.c +++ b/src/core/masks.c @@ -57,7 +57,7 @@ static int check_mask(SERVER_REC *server, const char *mask, } return wildcards ? match_wildcards(mask, str) : - g_strcasecmp(mask, str) == 0; + g_ascii_strcasecmp(mask, str) == 0; } int mask_match(SERVER_REC *server, const char *mask, @@ -117,7 +117,7 @@ int masks_match(SERVER_REC *server, const char *masks, mask = g_strdup_printf("%s!%s", nick, address); list = g_strsplit(masks, " ", -1); for (tmp = list; *tmp != NULL; tmp++) { - if (g_strcasecmp(*tmp, nick) == 0) { + if (g_ascii_strcasecmp(*tmp, nick) == 0) { found = TRUE; break; } |