summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-protocol.c
diff options
context:
space:
mode:
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;
}