From 31ae05c160698270c1c4f4e4c69f69d76f144f6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Tue, 12 Nov 2024 12:43:59 -0500
Subject: [PATCH] Current IMAP standards to not allow additional text after
 FLAGS

Remove the grease.
---
 exec/imapservice.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exec/imapservice.js b/exec/imapservice.js
index d5c09e8515..c2425282bf 100644
--- a/exec/imapservice.js
+++ b/exec/imapservice.js
@@ -1002,9 +1002,9 @@ function sendflags(perm)
 	flags=calc_msgflags(0xffff, 0xffff, base.subnum, base.last_msg, readonly);
 	pflags=calc_msgflags(0xffff, 0xffff, base.subnum, base.last_msg, readonly);
 	if(perm)
-		untagged("OK [PERMANENTFLAGS ("+pflags+")] Overkill!");
+		untagged("OK [PERMANENTFLAGS ("+pflags+")]");
 	else
-		untagged("FLAGS ("+flags+") Overkill!");
+		untagged("FLAGS ("+flags+")");
 }
 
 function parse_flags(inflags)
-- 
GitLab