summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe2022-05-29 15:24:06 -0400
committerJune McEnroe2022-05-29 15:24:06 -0400
commitf7b3c2f8ca3cc4e83dd1acd337699af7e1fe76ba (patch)
tree8bee2f53711168991adabda6e0fe32f8e7806937
parentfc518e301f817f1ff2092eb2bf80451508085b7e (diff)
Put unknown numerics in parentheses
For some reason this makes it look so much better to me.
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index 8a6a9c6..f51323d 100644
--- a/handle.c
+++ b/handle.c
@@ -136,7 +136,7 @@ static void handleReplyGeneric(struct Message *msg) {
 	}
 	char buf[1024];
 	char *ptr = buf, *end = &buf[sizeof(buf)];
-	ptr = seprintf(ptr, end, "\3%02d%s\3\t", Gray, msg->cmd);
+	ptr = seprintf(ptr, end, "\3%d(%s)\3\t", Gray, msg->cmd);
 	for (uint i = first; i < ParamCap && msg->params[i]; ++i) {
 		ptr = seprintf(
 			ptr, end, "%s%s", (i > first ? " " : ""), msg->params[i]