1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 10:43:13 +02:00

Fix bug with reset of topic for irc channel / jabber muc

This commit is contained in:
Sebastien Helleu
2009-02-25 19:13:47 +01:00
parent 5abc6f8c1b
commit 4772bd1865
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -200,7 +200,8 @@ irc_channel_set_topic (struct t_irc_channel *channel, const char *topic)
free (channel->topic);
channel->topic = (topic) ? strdup (topic) : NULL;
weechat_buffer_set (channel->buffer, "title", channel->topic);
weechat_buffer_set (channel->buffer, "title",
(channel->topic) ? channel->topic : "");
}
/*