summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-03-09 12:17:55 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-03-09 12:17:55 +0000
commit72930e0be3a8841e8149b246542832128310c350 (patch)
treec4cb68d6557440d1144126dac6f8bacbfb72a191 /src/fe-common/irc
parent7df46597e17ff7af4a660ab47673fe2cabc91db6 (diff)
downloadirssi-72930e0be3a8841e8149b246542832128310c350.zip
Use g_ascii_str{,n}casecmp for case insensitive comparison with
ascii only strings. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4739 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r--src/fe-common/irc/fe-events.c2
-rw-r--r--src/fe-common/irc/notifylist/fe-notifylist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c
index 57e360d6..dc952a66 100644
--- a/src/fe-common/irc/fe-events.c
+++ b/src/fe-common/irc/fe-events.c
@@ -269,7 +269,7 @@ static void event_wallops(IRC_SERVER_REC *server, const char *data, const char *
if (ignore_check(SERVER(server), nick, addr, NULL, data, MSGLEVEL_WALLOPS))
return;
- if (g_strncasecmp(data, "\001ACTION ", 8) != 0)
+ if (g_ascii_strncasecmp(data, "\001ACTION ", 8) != 0)
printformat(server, NULL, MSGLEVEL_WALLOPS, IRCTXT_WALLOPS, nick, data);
else {
/* Action in WALLOP */
diff --git a/src/fe-common/irc/notifylist/fe-notifylist.c b/src/fe-common/irc/notifylist/fe-notifylist.c
index 35bed36d..036c07e9 100644
--- a/src/fe-common/irc/notifylist/fe-notifylist.c
+++ b/src/fe-common/irc/notifylist/fe-notifylist.c
@@ -177,7 +177,7 @@ static void cmd_notify(const char *data)
signal_stop();
}
- if (g_strncasecmp(data, "-list", 4) == 0) {
+ if (g_ascii_strncasecmp(data, "-list", 4) == 0) {
cmd_notifylist_show();
signal_stop();
}