diff options
Diffstat (limited to 'src/irc/dcc')
-rw-r--r-- | src/irc/dcc/dcc-chat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index 2c1c6844..5569cd96 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -720,8 +720,7 @@ static void dcc_chat_msg(CHAT_DCC_REC *dcc, const char *msg) ptr = strchr(cmd, ' '); if (ptr != NULL) *ptr++ = '\0'; else ptr = ""; - cmd = g_strdup(cmd); - g_strup(cmd); + cmd = g_ascii_strup(cmd, -1); g_strdown(event+9); if (!signal_emit(event, 2, dcc, ptr)) { |