From 0f7963807245ccfea08e6b5db62ee1e89f445c33 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 2 Feb 2019 22:43:19 +0000 Subject: [PATCH] Don't warn about the system operator name if it matches user #1's real name. Warn if DOVE-Net subs are configured to disallow voting or they are not configured for QWK networking. --- exec/chksetup.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/exec/chksetup.js b/exec/chksetup.js index 6847a615a5..6038ddf9f4 100644 --- a/exec/chksetup.js +++ b/exec/chksetup.js @@ -36,9 +36,10 @@ var tests = { output.push("User #1 is not a sysop"); if(usr.security.restrictions & UFLAG_G) output.push("User #1 should not have the (G)uest restriction"); - if(system.operator.toLowerCase() != usr.alias.toLowerCase()) - output.push(format("User #%-4u alias (%s) does not match system operator (%s)" - ,1, usr.alias, system.operator)); + if(system.operator.toLowerCase() != usr.alias.toLowerCase() + && system.operator.toLowerCase() != usr.name.toLowerCase()) + output.push(format("User #%-4u name (%s) and alias (%s) does not match system operator (%s)" + ,1, usr.name, usr.alias, system.operator)); return output; }, @@ -224,6 +225,10 @@ var tests = { var sub = grp.sub_list[s]; if(sub.settings & SUB_GATE) output.push(format("DOVE-Net: %-16s is configured to Gate Between Net Types", sub.code)); + if(sub.settings & SUB_NOVOTING) + output.push(format("DOVE-Net: %-16s is NOT configured to allow voting", sub.code)); + if(!(sub.settings & SUB_QNET)) + output.push(format("DOVE-Net: %-16s is NOT configured for QWK Networking", sub.code)); } return output; }, -- GitLab