From 8f148ccfc7a9a7e54e47bdf23ab316c6159a7ea8 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 25 Feb 2009 19:22:18 +0100 Subject: Add option "irc.look.topic_strip_colors" to strip topic colors in buffer's title bar (task #6030) --- src/plugins/irc/irc-protocol.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/plugins/irc/irc-protocol.c') diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 1fd892477..5d7982f97 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -348,9 +348,7 @@ irc_protocol_cmd_join (struct t_irc_server *server, const char *command, /* remove topic and display channel creation date if joining new channel */ if (!ptr_channel->nicks) { - if (ptr_channel->topic) - irc_channel_set_topic (ptr_channel, NULL); - + irc_channel_set_topic (ptr_channel, NULL); ptr_channel->display_creation_date = 1; } -- cgit v1.2.3