diff options
author | June McEnroe | 2022-06-26 16:38:19 -0400 |
---|---|---|
committer | June McEnroe | 2022-06-26 16:38:19 -0400 |
commit | 4aaa2050e294d38c35ea0b5f5740541cebb9cfbd (patch) | |
tree | f2ad3d79d0f02aff1438d82211f0d14da22956d4 | |
parent | b744089d6ada2f5c8b30db6492fe166470e5a824 (diff) |
Only show old topic if something was removed
-rw-r--r-- | handle.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: ", |