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 9b249ce8 authored by Michael Long's avatar Michael Long Committed by Rob Swindell

change the program var in xtrn.js to prog to be compatible with any existing...

change the program var in xtrn.js to prog to be compatible with any existing uses of eval_before_exec
parent cd15abe1
......@@ -5,11 +5,11 @@
"use strict";
function exec_xtrn_post(program)
function exec_xtrn_post(prog)
{
var options;
if ((options = load({}, "modopts.js","xtrn:" + program.code)) == null) {
if ((options = load({}, "modopts.js","xtrn:" + prog.code)) == null) {
if ((options = load({}, "modopts.js","xtrn_sec")) == null)
options = {}; // default values
}
......
......@@ -5,11 +5,11 @@
"use strict";
function exec_xtrn_pre(program)
function exec_xtrn_pre(prog)
{
var options;
if ((options = load({}, "modopts.js","xtrn:" + program.code)) == null) {
if ((options = load({}, "modopts.js","xtrn:" + prog.code)) == null) {
if ((options = load({}, "modopts.js","xtrn_sec")) == null)
options = {}; // default values
}
......@@ -31,8 +31,8 @@ function exec_xtrn_pre(program)
}
}
if (bbs.menu_exists("xtrn/" + program.code)) {
bbs.menu("xtrn/" + program.code);
if (bbs.menu_exists("xtrn/" + prog.code)) {
bbs.menu("xtrn/" + prog.code);
console.pause();
console.line_counter=0;
}
......@@ -48,7 +48,7 @@ function exec_xtrn_pre(program)
eval(options.eval_before_exec);
}
load('fonts.js', 'xtrn:' + program.code);
load('fonts.js', 'xtrn:' + prog.code);
}
......
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