summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-03-14 19:06:32 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-03-14 19:06:32 +0000
commit31c341ff566fe81d630913e9e646c937e8d29256 (patch)
tree9f30351370f2712c91d7b5088f92bf93f3b8661e
parentdee3b35ba2d9fcf4bb404f9c6573c23f23d5f80e (diff)
downloadirssi-31c341ff566fe81d630913e9e646c937e8d29256.zip
Replace missed strncasecmp calls with g_ascii_strncasecmp.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4767 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/irc/core/irc-servers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c
index 43b47855..9f688006 100644
--- a/src/irc/core/irc-servers.c
+++ b/src/irc/core/irc-servers.c
@@ -791,11 +791,11 @@ void irc_server_init_isupport(IRC_SERVER_REC *server)
server->max_msgs_in_cmd = 1;
/* Not doing WHOIS here until it is clear what it means. */
while (*p != '\0') {
- if (!strncasecmp(p, "KICK:", 5)) {
+ if (!g_ascii_strncasecmp(p, "KICK:", 5)) {
server->max_kicks_in_cmd = atoi(p + 5);
if (server->max_kicks_in_cmd <= 0)
server->max_kicks_in_cmd = 30;
- } else if (!strncasecmp(p, "PRIVMSG:", 8)) {
+ } else if (!g_ascii_strncasecmp(p, "PRIVMSG:", 8)) {
server->max_msgs_in_cmd = atoi(p + 8);
if (server->max_msgs_in_cmd <= 0)
server->max_msgs_in_cmd = 30;