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

Node's "quiet mode" were not displayed to sysop in "active" node list

e.g. Hitting Ctrl-U while online, any nodes in "quiet mode" would not
be shown to the user even though that user was a sysop. This is not
how sbbs_t::whos_online() from getnode.cpp behaves. Now changed to
behave the same as whos_online().
parent 704db57b
No related branches found
No related tags found
No related merge requests found
...@@ -321,7 +321,8 @@ function nodelist(print, active, listself, is_sysop, options) ...@@ -321,7 +321,8 @@ function nodelist(print, active, listself, is_sysop, options)
var n; var n;
for(n = 0; n < system.node_list.length; n++) { for(n = 0; n < system.node_list.length; n++) {
var node = system.get_node(n + 1); var node = system.get_node(n + 1);
if(active && node.status != NODE_INUSE) if(active && node.status != NODE_INUSE
&& (!is_sysop || node.status != NODE_QUIET))
continue; continue;
if(js.global.bbs && n == (bbs.node_num - 1)) { if(js.global.bbs && n == (bbs.node_num - 1)) {
if(!listself) if(!listself)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment