Remove faq from links.conf. Add newsgroup name to 'other' error log output in spoolnews.php.

This commit is contained in:
Retro_Guy 2023-09-20 07:02:49 -07:00
parent fb33f414fc
commit adbd795a8f
2 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@ mail:/spoolnews/mail.php
files:/spoolnews/files.php
register:/common/register.php
nodelist:/common/nodelist.php
faq:/common/faq.txt
#faq:/common/faq.txt

View File

@ -286,7 +286,7 @@ function get_articles($ns, $group)
$response = line_read($ns);
if (strcmp(substr($response, 0, 3), "220") != 0) {
echo "\n" . $response;
file_put_contents($logfile, "\n" . format_log_date() . " " . $config_name . " " . $response, FILE_APPEND);
file_put_contents($logfile, "\n" . format_log_date() . " " . $config_name . " ".$group." " . $response, FILE_APPEND);
$article ++;
continue;
}