From ea7476dd66b44aef20bf5893e618037924973c25 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sat, 30 Oct 2021 05:19:09 +0000 Subject: [PATCH] Add an additional space before any signature --- Rocksolid_Light/rocksolid/lib/post.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rocksolid_Light/rocksolid/lib/post.inc.php b/Rocksolid_Light/rocksolid/lib/post.inc.php index ccddf29..4a61f6c 100644 --- a/Rocksolid_Light/rocksolid/lib/post.inc.php +++ b/Rocksolid_Light/rocksolid/lib/post.inc.php @@ -287,11 +287,11 @@ function message_post($subject,$from,$newsgroups,$ref,$body,$encryptthis,$encryp fputs($ns,'Organization: '.quoted_printable_encode($CONFIG['organization'])."\r\n"); $body=trim($body); if ($userconfig['signature'] !== '' && $myconfig) { - $body.="\n-- \n".$userconfig['signature']; + $body.="\n\n-- \n".$userconfig['signature']; } else { if ((isset($CONFIG['postfooter'])) && ($CONFIG['postfooter']!="")) { $postfooter = preg_replace('/\{DOMAIN\}/', "\n".$_SERVER['HTTP_HOST'], $CONFIG['postfooter']); - $body.="\n-- \n".$postfooter; + $body.="\n\n-- \n".$postfooter; } } fputs($ns,'Message-ID: '.$msgid."\r\n");