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

Fix: these scripts should not return 1 (error) when disabled via modopts.ini

parent fd0b854f
Branches
Tags
No related merge requests found
......@@ -16,7 +16,7 @@ function exec_xtrn_post(program)
require("nodedefs.js", "NODE_LOGN");
if ((options.disable_post_on_logon_event) && (bbs.node_action == NODE_LOGN)) {
exit(1);
exit(0);
}
require("cga_defs.js", "LIGHTGRAY");
......
......@@ -17,7 +17,7 @@ function exec_xtrn_pre(program)
require("nodedefs.js", "NODE_LOGN");
if (bbs.node_action == NODE_LOGN) {
if (options.disable_pre_on_logon_event) {
exit(1);
exit(0);
}
} else {
if (options.restricted_user_msg === undefined) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment