mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Show the proper TXT when topic was unset
This commit is contained in:
parent
cee9d09deb
commit
80f9f16939
@ -305,7 +305,7 @@ static void cmd_topic(const char *data, SERVER_REC *server, WI_ITEM_REC *item)
|
||||
if (channel == NULL) return;
|
||||
|
||||
printformat(server, channel->visible_name, MSGLEVEL_CRAP,
|
||||
channel->topic == NULL ? IRCTXT_NO_TOPIC : IRCTXT_TOPIC,
|
||||
(channel->topic == NULL || *channel->topic == '\0') ? IRCTXT_NO_TOPIC : IRCTXT_TOPIC,
|
||||
channel->visible_name, channel->topic);
|
||||
|
||||
if (channel->topic_time > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user