From b28b21f6d502ea154a005fd380ba2f812609f4da Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 13 Jan 2016 17:05:49 -0600 Subject: [PATCH] LIST: since we now have channel::strip_topic_colors, don't unconditionally strip colors here anymore --- modules/m_list.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/modules/m_list.c b/modules/m_list.c index 81ac0e99..fbecd520 100644 --- a/modules/m_list.c +++ b/modules/m_list.c @@ -281,17 +281,10 @@ static int mo_list(struct Client *client_p, struct Client *source_p, int parc, c static void list_one_channel(struct Client *source_p, struct Channel *chptr, int visible) { - char topic[TOPICLEN + 1]; - - if (chptr->topic != NULL) - rb_strlcpy(topic, chptr->topic, sizeof topic); - else - topic[0] = '\0'; - strip_colour(topic); sendto_one(source_p, form_str(RPL_LIST), me.name, source_p->name, visible ? "" : "!", chptr->chname, rb_dlink_list_length(&chptr->members), - topic); + chptr->topic != NULL ? chptr->topic : ""); } /*