Remove 'how to filter' header. It's TMI.
This commit is contained in:
parent
01bcdc9ef5
commit
3cd69af53e
|
@ -500,11 +500,10 @@ function message_post($subject, $from, $newsgroups, $ref, $body, $encryptthis =
|
|||
fputs($ns, 'Followup-To: ' . $followupto . "\r\n");
|
||||
}
|
||||
fputs($ns, 'Newsgroups: ' . $newsgroups . "\r\n");
|
||||
$sitekey = hash('sha1', $CONFIG['thissitekey'] . $_SERVER['HTTP_HOST']);
|
||||
$sitekey = password_hash($CONFIG['thissitekey'] . $msgid, PASSWORD_DEFAULT);
|
||||
$posting_user = hash('sha1', $from . $CONFIG['thissitekey'] . $_SERVER['HTTP_HOST']);
|
||||
fputs($ns, 'X-Rslight-Site: ' . $sitekey . "\r\n");
|
||||
fputs($ns, 'X-Rslight-Posting-User: ' . $posting_user . "\r\n");
|
||||
fputs($ns, "X-How-To-Filter: Use 'X-Rslight-Site' to filter SITE or 'X-Rslight-Posting-User' to filter USER\r\n");
|
||||
if (isset($encryptthis)) {
|
||||
fputs($ns, 'X-Rslight-To: ' . $encryptto . "\r\n");
|
||||
$CONFIG['postfooter'] = "";
|
||||
|
|
Loading…
Reference in New Issue