mirror of
https://github.com/irssi/irssi.git
synced 2026-08-14 14:12:11 +02:00
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
This commit is contained in:
parent
df1d7a7814
commit
8728207191
13 changed files with 39 additions and 18 deletions
|
|
@ -533,7 +533,7 @@ static char *line_get_command(const char *line, char **args, int aliases)
|
|||
} while (ptr != NULL);
|
||||
|
||||
if (cmd != NULL)
|
||||
g_strdown(cmd);
|
||||
ascii_strdown(cmd);
|
||||
return cmd;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -330,7 +330,7 @@ static void cmd_ctcp(const char *data, SERVER_REC *server)
|
|||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR,
|
||||
IRCTXT_DCC_CHAT_NOT_FOUND, target+1);
|
||||
} else {
|
||||
g_strup(ctcpcmd);
|
||||
ascii_strup(ctcpcmd);
|
||||
signal_emit("message dcc own_ctcp", 3, dcc, ctcpcmd, ctcpdata);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ static void cmd_ctcp(const char *data, IRC_SERVER_REC *server,
|
|||
return;
|
||||
}
|
||||
|
||||
g_strup(ctcpcmd);
|
||||
ascii_strup(ctcpcmd);
|
||||
signal_emit("message irc own_ctcp", 4,
|
||||
server, ctcpcmd, ctcpdata, target);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue