From 4aaa2050e294d38c35ea0b5f5740541cebb9cfbd Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 26 Jun 2022 16:38:19 -0400 Subject: Only show old topic if something was removed --- handle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handle.c b/handle.c index 809b6bc..4b667c7 100644 --- a/handle.c +++ b/handle.c @@ -744,7 +744,7 @@ static void handleTopic(struct Message *msg) { hash(msg->user), msg->nick, hash(msg->params[0]), msg->params[0] ); 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 = seprintf( ptr, end, "\3%02d%s\3\tplaces a new sign in \3%02d%s\3: ", -- cgit 1.4.1-2-gfad0