summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--handle.c7
1 files 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) {
:30 -0500'>2020-12-15Add -lresolv on macOS, LinuxJune McEnroe 2020-12-15Implement getservinfo for SRV lookupJune McEnroe 2020-10-29Update README build instructions 1.2June McEnroe 2020-10-29Say OpenSSL in additional permission noticesJune McEnroe 2020-10-27Refactor IMAP structJune McEnroe 2020-10-27Rewrite compat and add configure scriptJune McEnroe 2020-10-24Use open_memstream rather than fmemopenJune McEnroe 2020-06-08Add additional permission for linking with LibreSSLJune McEnroe https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs 2020-05-05Update email addresses 1.1June McEnroe 2020-05-05Update compat.h for split read/write streamsJune McEnroe 2020-05-05Encode the path as Subject with QJune McEnroe 2020-05-04Clean up notemap with dataCheckJune McEnroe 2020-05-04Update IMAP parserJune McEnroe 2020-04-08Use a real IMAP parserJune McEnroe 2020-01-28Call fopencookie with a+ 1.0June McEnroe This fixes strange behaviour when interleaving reads and writes. 2020-01-28Add arc4random_buf compatibilityJune McEnroe