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

Pass P_NOERROR to bbs.menu()

... to not log an error when the bullseye.asc file doesn't exist.
parent bded8cad
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
// @format.tab-size 4, @format.use-tabs true
load("sbbsdefs.js");
require("sbbsdefs.js", "P_NOERROR");
"use strict";
......@@ -47,7 +47,7 @@ if(bull.length < 1) {
// Display menu, list bulletins, display prompt, etc.
while(bbs.online && !js.terminated) {
if(bbs.menu("../bullseye")) {
if(bbs.menu("../bullseye", P_NOERROR)) {
console.mnemonics("\r\nEnter number of bulletin or [~Quit]: ");
b = console.getnum(bull.length);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment