Only show old topic if something was removed

weechat-hashes
June McEnroe 2022-06-26 16:38:19 -04:00
parent b744089d6a
commit 4aaa2050e2
1 changed files with 1 additions and 1 deletions

View File

@ -744,7 +744,7 @@ static void handleTopic(struct Message *msg) {
hash(msg->user), msg->nick, hash(msg->params[0]), msg->params[0] hash(msg->user), msg->nick, hash(msg->params[0]), msg->params[0]
); );
ptr = highlightMiddle(ptr, end, Brown, old, pre, osuf); ptr = highlightMiddle(ptr, end, Brown, old, pre, osuf);
uiWrite(id, Cold, tagTime(msg), buf); if (osuf != pre) uiWrite(id, Cold, tagTime(msg), buf);
ptr = buf; ptr = buf;
ptr = seprintf( ptr = seprintf(
ptr, end, "\3%02d%s\3\tplaces a new sign in \3%02d%s\3: ", ptr, end, "\3%02d%s\3\tplaces a new sign in \3%02d%s\3: ",