Commit ca5cf8e0 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix a couple of compile errors introduced since v3.19

It'd be nice if someone (me?) tested this. :-)
parent 2c3cb968
Pipeline #3636 passed with stage
in 6 minutes and 12 seconds
......@@ -20,7 +20,7 @@
"use strict";
const REVISION = "2.0;
const REVISION = "2.0";
require('sbbsdefs.js', 'SUB_NAME');
const temp_node = 9999;
var netname;
......@@ -472,7 +472,7 @@ if(netname) {
var msgs_ini = new File(system.ctrl_dir + "msgs.ini");
print("Reading Message Area configuration file: " + msgs_ini.name);
if(!f.open(f.exists ? 'r+':'w+')) {
if(!msgs_ini.open(msgs_ini.exists ? 'r+':'w+')) {
alert("Failed to read " + msgs_ini.name);
exit(1);
}
......
Supports Markdown
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