Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 20285f60 authored by Randy Sommerfeld's avatar Randy Sommerfeld

Merge branch 'master' of gitlab.synchro.net:main/sbbs

parents 362e3583 ec234452
......@@ -161,6 +161,7 @@ var interface_ip_address=0;
var port_set=false;
var tls=false;
var no_path=false;
var approved;
var area = {};
if(this.server!=undefined)
......@@ -256,6 +257,9 @@ while(!cfg_file.eof) {
case "max_newsgroups_per_article":
max_newsgroups_per_article=parseInt(str[1]);
break;
case "approved":
approved = str[1];
break;
default:
print("!UNRECOGNIZED configuration keyword: " + str[0]);
break;
......@@ -555,6 +559,9 @@ for(sub in area) {
+ "]"
);
if(approved)
writeln("Approved: " + approved);
writeln("");
if(hdr.to.toLowerCase()!="all") {
writeln(" To: " + hdr.to);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment