summaryrefslogtreecommitdiff
path: root/src/irc/notifylist
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2014-06-10 12:06:19 -0400
committerDavid Hill <dhill@conformal.com>2014-06-10 12:06:19 -0400
commit0d4f13d20f304927277ad327c714481bc97de48f (patch)
tree0cea195e9fae20e3e10d48c5c829b0e894bdd492 /src/irc/notifylist
parent5ca9287182092530dc206fa1af13fbe19cc357d1 (diff)
downloadirssi-0d4f13d20f304927277ad327c714481bc97de48f.zip
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
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 */