summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--handle.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/handle.c b/handle.c
index 4cb0e94..58fdce2 100644
--- a/handle.c
+++ b/handle.c
@@ -584,10 +584,15 @@ static void handleMode(struct Message *msg) {
 			);
 		}
 	}
-	if (strlen(buf) < 2) return;
+
+	catf(buf, sizeof(buf), " (%s", msg->params[1]);
+	for (uint i = 2; i < ParamCap; ++i) {
+		if (!msg->params[i]) break;
+		catf(buf, sizeof(buf), " %s", msg->params[i]);
+	}
 	uiFormat(
 		id, Cold, tagTime(msg),
-		"\3%02d%s\3\t%s", hash(msg->user), msg->nick, &buf[2]
+		"\3%02d%s\3\t%s)", hash(msg->user), msg->nick, &buf[2]
 	);
 }
 
a8a234789d6a179&follow=1'>Day 6, part 2June McEnroe 2020-11-22Day 6June McEnroe 2020-11-22Day 5, part 2June McEnroe 2020-11-22Day 5June McEnroe 2020-11-22Day 4, part 2June McEnroe 2020-11-22Day 4June McEnroe 2020-11-22Day 3, part 2June McEnroe 2020-11-22Day 3, clean upJune McEnroe 2020-11-22Day 3June McEnroe 2020-11-22Day 2, part 2June McEnroe 2020-11-22Day 2June McEnroe 2020-11-22Day 1, part 2June McEnroe 2020-11-22Day 1June McEnroe 2020-11-22Move to 2016 directoryJune McEnroe