From 0d4f13d20f304927277ad327c714481bc97de48f Mon Sep 17 00:00:00 2001 From: David Hill Date: Tue, 10 Jun 2014 12:06:19 -0400 Subject: Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp. --- src/irc/dcc/dcc-send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc/dcc/dcc-send.c') diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c index 78ccf01d..6d2b794d 100644 --- a/src/irc/dcc/dcc-send.c +++ b/src/irc/dcc/dcc-send.c @@ -180,7 +180,7 @@ static void cmd_dcc_send(const char *data, IRC_SERVER_REC *server, chat = item_get_dcc(item); if (chat != NULL && - (chat->mirc_ctcp || g_strcasecmp(nick, chat->nick) != 0)) + (chat->mirc_ctcp || g_ascii_strcasecmp(nick, chat->nick) != 0)) chat = NULL; if (IS_IRC_SERVER(server) && server->connected) -- cgit v1.2.3