summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-chat.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@irssi.org>2010-04-03 20:09:37 +0000
committerahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564>2010-04-03 20:09:37 +0000
commit8728207191dc544aa473c322fbb779a032aa6d62 (patch)
treefad0fb7b66746551a9593d686fe4c43f76422b7f /src/irc/dcc/dcc-chat.c
parentdf1d7a78147805119f045036fc87c23e2c5c8094 (diff)
downloadirssi-8728207191dc544aa473c322fbb779a032aa6d62.zip
deprecated glib strup/down fixes from exg.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5138 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/dcc/dcc-chat.c')
-rw-r--r--src/irc/dcc/dcc-chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c
index 61b69d73..b3950002 100644
--- a/src/irc/dcc/dcc-chat.c
+++ b/src/irc/dcc/dcc-chat.c
@@ -281,7 +281,7 @@ static void cmd_ctcp(const char *data, IRC_SERVER_REC *server)
dcc = dcc_chat_find_id(target+1);
if (dcc != NULL) {
- g_strup(ctcpcmd);
+ ascii_strup(ctcpcmd);
str = g_strconcat(ctcpcmd, " ", ctcpdata, NULL);
dcc_ctcp_message(server, dcc->nick, dcc, FALSE, str);
@@ -719,7 +719,7 @@ static void dcc_chat_msg(CHAT_DCC_REC *dcc, const char *msg)
cmd = g_ascii_strup(cmd, -1);
- g_strdown(event+9);
+ ascii_strdown(event+9);
if (!signal_emit(event, 2, dcc, ptr)) {
signal_emit(reply ? "default dcc reply" :
"default dcc ctcp", 3, dcc, cmd, ptr);