aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc_commands.c b/irc_commands.c
index cf41d323..a1933fa6 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -636,7 +636,7 @@ static void irc_cmd_away( irc_t *irc, char **cmd )
/* Copy away string, but skip control chars. Mainly because
Jabber really doesn't like them. */
for( i = j = 0; cmd[1][i]; i ++ )
- if( ( away[j] = cmd[1][i] ) >= ' ' )
+ if( (unsigned char) ( away[j] = cmd[1][i] ) >= ' ' )
j ++;
away[j] = '\0';