Skip to content
Snippets Groups Projects
Commit ca5cf8e0 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix a couple of compile errors introduced since v3.19

It'd be nice if someone (me?) tested this. :-)
parent 2c3cb968
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3636 passed
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"use strict"; "use strict";
const REVISION = "2.0; const REVISION = "2.0";
require('sbbsdefs.js', 'SUB_NAME'); require('sbbsdefs.js', 'SUB_NAME');
const temp_node = 9999; const temp_node = 9999;
var netname; var netname;
...@@ -472,7 +472,7 @@ if(netname) { ...@@ -472,7 +472,7 @@ if(netname) {
var msgs_ini = new File(system.ctrl_dir + "msgs.ini"); var msgs_ini = new File(system.ctrl_dir + "msgs.ini");
print("Reading Message Area configuration file: " + msgs_ini.name); 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); alert("Failed to read " + msgs_ini.name);
exit(1); exit(1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment