aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-27 17:04:28 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-27 17:04:28 +0100
commit134a02cd563c395d0026d9d1b07eb136394798ca (patch)
tree8e57549feb99debfea6d53a3a47c7a5a60162fe1 /root_commands.c
parent547ea687b733113e06d7b941096b60632ac24de9 (diff)
irc_channel_name_strip() instead of nick_strip().
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c2
1 files changed, 2 insertions, 0 deletions
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 ) ) &&