summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/dcc/dcc.c')
-rw-r--r--src/irc/dcc/dcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c
index 3078a093..bc8d8452 100644
--- a/src/irc/dcc/dcc.c
+++ b/src/irc/dcc/dcc.c
@@ -332,7 +332,7 @@ static void sig_server_nick_changed(IRC_SERVER_REC *server)
static void ctcp_msg(IRC_SERVER_REC *server, const char *data,
const char *nick, const char *addr, const char *target)
{
- if (g_strncasecmp(data, "dcc ", 4) != 0)
+ if (g_ascii_strncasecmp(data, "dcc ", 4) != 0)
return;
data += 4;
@@ -345,7 +345,7 @@ static void ctcp_msg(IRC_SERVER_REC *server, const char *data,
static void ctcp_reply(IRC_SERVER_REC *server, const char *data,
const char *nick, const char *addr, const char *target)
{
- if (g_strncasecmp(data, "dcc ", 4) != 0)
+ if (g_ascii_strncasecmp(data, "dcc ", 4) != 0)
return;
data += 4;