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

Sync-up the node status flag output with presence_lib.js

parent f1ba19ad
Branches
Tags
No related merge requests found
...@@ -665,8 +665,10 @@ void sbbs_t::printnodedat(uint number, node_t* node) ...@@ -665,8 +665,10 @@ void sbbs_t::printnodedat(uint number, node_t* node)
outchar('A'); outchar('A');
if(node->misc&NODE_LOCK) if(node->misc&NODE_LOCK)
outchar('L'); outchar('L');
if(node->misc&(i&(NODE_MSGW|NODE_NMSG))) if(node->misc&(i&(NODE_MSGW)))
outchar('M'); outchar('M');
if(node->misc&(i&(NODE_NMSG)))
outchar('N');
if(node->misc&(i&NODE_POFF)) if(node->misc&(i&NODE_POFF))
outchar('P'); outchar('P');
outchar(')'); outchar(')');
...@@ -683,8 +685,6 @@ void sbbs_t::printnodedat(uint number, node_t* node) ...@@ -683,8 +685,6 @@ void sbbs_t::printnodedat(uint number, node_t* node)
outchar('R'); outchar('R');
if(node->misc&NODE_UDAT) if(node->misc&NODE_UDAT)
outchar('U'); outchar('U');
if(node->status==NODE_QUIET)
outchar('Q');
if(node->misc&NODE_EVENT) if(node->misc&NODE_EVENT)
outchar('E'); outchar('E');
if(node->misc&NODE_DOWN) if(node->misc&NODE_DOWN)
...@@ -693,6 +693,8 @@ void sbbs_t::printnodedat(uint number, node_t* node) ...@@ -693,6 +693,8 @@ void sbbs_t::printnodedat(uint number, node_t* node)
outchar('C'); outchar('C');
if(node->misc&NODE_FCHAT) if(node->misc&NODE_FCHAT)
outchar('F'); outchar('F');
if(node->status==NODE_QUIET)
outchar('Q');
outchar(']'); outchar(']');
} }
if(node->errors && SYSOP) { if(node->errors && SYSOP) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment