From 134a02cd563c395d0026d9d1b07eb136394798ca Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 27 Jun 2010 17:04:28 +0100 Subject: irc_channel_name_strip() instead of nick_strip(). --- root_commands.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'root_commands.c') diff --git a/root_commands.c b/root_commands.c index b47ce078..470b2536 100644 --- a/root_commands.c +++ b/root_commands.c @@ -1015,6 +1015,8 @@ static void cmd_chat( irc_t *irc, char **cmd ) s = g_strdup_printf( "#%s", channel ); g_free( channel ); channel = s; + + irc_channel_name_strip( channel ); } if( ( ic = irc_channel_new( irc, channel ) ) && -- cgit v1.2.3