summaryrefslogtreecommitdiff
path: root/src/irc/notifylist
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/notifylist')
-rw-r--r--src/irc/notifylist/notify-ison.c2
-rw-r--r--src/irc/notifylist/notifylist.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/irc/notifylist/notify-ison.c b/src/irc/notifylist/notify-ison.c
index 74bb4a94..f9ca7b37 100644
--- a/src/irc/notifylist/notify-ison.c
+++ b/src/irc/notifylist/notify-ison.c
@@ -69,7 +69,7 @@ NOTIFY_NICK_REC *notify_nick_find(IRC_SERVER_REC *server, const char *nick)
for (tmp = mserver->notify_users; tmp != NULL; tmp = tmp->next) {
rec = tmp->data;
- if (g_strcasecmp(rec->nick, nick) == 0)
+ if (g_ascii_strcasecmp(rec->nick, nick) == 0)
return rec;
}
diff --git a/src/irc/notifylist/notifylist.c b/src/irc/notifylist/notifylist.c
index 467fa30a..b0b7ee1c 100644
--- a/src/irc/notifylist/notifylist.c
+++ b/src/irc/notifylist/notifylist.c
@@ -94,7 +94,7 @@ int notifylist_ircnets_match(NOTIFYLIST_REC *rec, const char *ircnet)
if (strcmp(ircnet, "*") == 0) return TRUE;
for (tmp = rec->ircnets; *tmp != NULL; tmp++) {
- if (g_strcasecmp(*tmp, ircnet) == 0)
+ if (g_ascii_strcasecmp(*tmp, ircnet) == 0)
return TRUE;
}
@@ -113,7 +113,7 @@ NOTIFYLIST_REC *notifylist_find(const char *mask, const char *ircnet)
NOTIFYLIST_REC *rec = tmp->data;
/* check mask */
- if (g_strncasecmp(rec->mask, mask, len) != 0 ||
+ if (g_ascii_strncasecmp(rec->mask, mask, len) != 0 ||
(rec->mask[len] != '\0' && rec->mask[len] != '!')) continue;
/* check ircnet */