diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-27 17:04:28 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-27 17:04:28 +0100 |
commit | 134a02cd563c395d0026d9d1b07eb136394798ca (patch) | |
tree | 8e57549feb99debfea6d53a3a47c7a5a60162fe1 /irc_im.c | |
parent | 547ea687b733113e06d7b941096b60632ac24de9 (diff) |
irc_channel_name_strip() instead of nick_strip().
Diffstat (limited to 'irc_im.c')
-rw-r--r-- | irc_im.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ) { |