From 37ec1e8232ab5aadd1989be1c7b518c98438cfd0 Mon Sep 17 00:00:00 2001
From: C. McEnroe
Date: Wed, 5 Feb 2020 00:24:54 -0500
Subject: Align MOTD after -

---
 handle.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/handle.c b/handle.c
index 32f8939..b5585ba 100644
--- a/handle.c
+++ b/handle.c
@@ -176,8 +176,11 @@ static void handleReplyISupport(struct Message *msg) {
 static void handleReplyMOTD(struct Message *msg) {
 	require(msg, false, 2);
 	char *line = msg->params[1];
-	if (!strncmp(line, "- ", 2)) line += 2;
-	uiFormat(Network, Cold, tagTime(msg), "%s", line);
+	if (!strncmp(line, "- ", 2)) {
+		uiFormat(Network, Cold, tagTime(msg), "\3%d-\3\t%s", Gray, &line[2]);
+	} else {
+		uiFormat(Network, Cold, tagTime(msg), "%s", line);
+	}
 }
 
 static void handleJoin(struct Message *msg) {
-- 
cgit 1.4.1-2-gfad0