summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-protocol.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-02-25 19:22:18 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-02-25 19:22:18 +0100
commit8f148ccfc7a9a7e54e47bdf23ab316c6159a7ea8 (patch)
tree886fc86b9689bbedc22579a4073cd52d3e2ecba3 /src/plugins/irc/irc-protocol.c
parent4772bd1865f7bdce4642d6f8559ab12fb7d0b3a5 (diff)
downloadweechat-8f148ccfc7a9a7e54e47bdf23ab316c6159a7ea8.zip
Add option "irc.look.topic_strip_colors" to strip topic colors in buffer's title bar (task #6030)
Diffstat (limited to 'src/plugins/irc/irc-protocol.c')
-rw-r--r--src/plugins/irc/irc-protocol.c4
1 files changed, 1 insertions, 3 deletions
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;
}