diff --git a/exec/chksetup.js b/exec/chksetup.js index 7b583ae34dd36502b6892b6ac787b4869359b972..0715047ce02eb06ef13432e40a1147c71ec28d73 100644 --- a/exec/chksetup.js +++ b/exec/chksetup.js @@ -202,6 +202,14 @@ var tests = { return "SYNCDATA sub-board could not be found in message area configuration"; }, + check_imsg_list: function(options) + { + var lib = load({}, "sbbsimsg_lib.js"); + var list = lib.read_sys_list(/* include_self: */true); + if(!lib.find_name(list, system.name)) + return format("'%s' not listed in %s", system.name, lib.filename); + }, + check_sub_codes: function(options) { return check_codes("msg sub-board", msg_area.grp_list, 'sub_list'); @@ -252,4 +260,7 @@ for(var i in tests) { break; } } -writeln(issues + " issues discovered"); \ No newline at end of file +if(issues) + alert(issues + " issues discovered"); +else + writeln("No issues discovered");