summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc.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.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.c')
-rw-r--r--src/irc/dcc/dcc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c
index bc8d8452..a4bb774e 100644
--- a/src/irc/dcc/dcc.c
+++ b/src/irc/dcc/dcc.c
@@ -367,7 +367,7 @@ static void ctcp_msg_dcc(IRC_SERVER_REC *server, const char *data,
args = strchr(str+13, ' ');
if (args != NULL) *args++ = '\0'; else args = "";
- g_strdown(str+13);
+ ascii_strdown(str+13);
if (!signal_emit(str, 6, server, args, nick, addr, target, chat)) {
signal_emit("default ctcp msg dcc", 6,
server, data, nick, addr, target, chat);
@@ -389,7 +389,7 @@ static void ctcp_reply_dcc(IRC_SERVER_REC *server, const char *data,
args = strchr(str+15, ' ');
if (args != NULL) *args++ = '\0'; else args = "";
- g_strdown(str+15);
+ ascii_strdown(str+15);
if (!signal_emit(str, 5, server, args, nick, addr, target)) {
signal_emit("default ctcp reply dcc", 5,
server, data, nick, addr, target);
@@ -502,7 +502,7 @@ static void cmd_dcc_close(char *data, IRC_SERVER_REC *server)
if (*nick == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
- g_strup(typestr);
+ ascii_strup(typestr);
type = dcc_str2type(typestr);
if (type == -1) {
signal_emit("dcc error unknown type", 1, typestr);