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 fc7e041f authored by Rob Swindell's avatar Rob Swindell 💬

Fix recently-introduced issue reading the 'mail' base.

Reported by AL@TRMB.
parent 31149a20
......@@ -30,7 +30,7 @@ var sub=http_request.query.msg_sub;
if(grp=='E-Mail')
sub='mail';
var s=-1;
if(sub != undefined && msg_area.sub[sub] != undefined)
if(sub == 'mail' || msg_area.sub[sub] != undefined)
var msgbase = new MsgBase(sub);
var message=http_request.query.message;
var m=parseInt(http_request.query.message);
......
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