From 394f45cf528ba1f2a6d1727749d503e557b7a2f5 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 16 Feb 2018 00:34:55 +0000
Subject: [PATCH] Insure that the message body ends in a \r\n - this should fix
 Nelgin's problem with a message whose tail/tagline is corrupted or something
 (doesn't end in a \r\n).

---
 exec/nntpservice.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/nntpservice.js b/exec/nntpservice.js
index dc18e0296f..c97fa7a2ab 100644
--- a/exec/nntpservice.js
+++ b/exec/nntpservice.js
@@ -704,7 +704,7 @@ while(client.socket.is_connected && !quit) {
 			if(hdr!=null && body!=null)	/* both, separate with blank line */
 				writeln("");
 			if(body!=null) {
-				write(body);
+				writeln(truncsp(body));
 				msgs_read++;
 			}
 			writeln(".");
-- 
GitLab