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:
Alexander Færøy 2010-04-03 20:09:37 +00:00 committed by ahf
commit 8728207191
13 changed files with 39 additions and 18 deletions

View file

@ -317,7 +317,7 @@ static void sig_listen_client(CLIENT_REC *client)
args = strchr(cmd, ' ');
if (args != NULL) *args++ = '\0'; else args = "";
if (*args == ':') args++;
g_strup(cmd);
ascii_strup(cmd);
handle_client_cmd(client, cmd, args, str);
@ -391,7 +391,7 @@ static void sig_server_event(IRC_SERVER_REC *server, const char *line,
args = strchr(event+6, ' ');
if (args != NULL) *args++ = '\0'; else args = "";
while (*args == ' ') args++;
g_strdown(event);
ascii_strdown(event);
signal = server_redirect_peek_signal(server, nick, event, args, &redirected);
if ((signal != NULL && strncmp(signal, "proxy ", 6) != 0) ||