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(). --- irc_im.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'irc_im.c') diff --git a/irc_im.c b/irc_im.c index ada92b16..f4c5f390 100644 --- a/irc_im.c +++ b/irc_im.c @@ -534,11 +534,11 @@ static gboolean bee_irc_chat_name_hint( bee_t *bee, struct groupchat *c, const c strncpy( stripped, name, MAX_NICK_LENGTH ); stripped[MAX_NICK_LENGTH] = '\0'; - nick_strip( stripped ); + irc_channel_name_strip( stripped ); if( set_getbool( &bee->set, "lcnicks" ) ) nick_lc( stripped ); - full_name = g_strdup_printf( "&%s", stripped ); + full_name = g_strdup_printf( "#%s", stripped ); if( stripped[0] && irc_channel_by_name( irc, full_name ) == NULL ) { -- cgit v1.2.3