diff options
author | June McEnroe <june@causal.agency> | 2022-06-26 16:38:19 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-06-26 16:38:19 -0400 |
commit | 4aaa2050e294d38c35ea0b5f5740541cebb9cfbd (patch) | |
tree | f2ad3d79d0f02aff1438d82211f0d14da22956d4 | |
parent | Use two lines to show topic diffs (diff) | |
download | catgirl-4aaa2050e294d38c35ea0b5f5740541cebb9cfbd.tar.gz catgirl-4aaa2050e294d38c35ea0b5f5740541cebb9cfbd.zip |
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: ", |