Add an additional space before any signature

This commit is contained in:
Retro_Guy 2021-10-30 05:19:09 +00:00
parent 2197f3da85
commit ea7476dd66
1 changed files with 2 additions and 2 deletions

View File

@ -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");