aboutsummaryrefslogtreecommitdiffstats
path: root/irc_im.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 /irc_im.c
parent547ea687b733113e06d7b941096b60632ac24de9 (diff)
irc_channel_name_strip() instead of nick_strip().
Diffstat (limited to 'irc_im.c')
-rw-r--r--irc_im.c4
1 files changed, 2 insertions, 2 deletions
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 )
{