Skip to content
Snippets Groups Projects
Commit c7bc31a9 authored by rswindell's avatar rswindell
Browse files

Fix: the NODE_LOGOUT status was not accounted for.

parent ab82a2f1
No related branches found
No related tags found
No related merge requests found
......@@ -182,6 +182,16 @@ function node_status(node, is_sysop, options)
output += format(NodeStatus[node_status], node.aux);
output += node_connection_desc(node);
break;
case NODE_LOGOUT:
output += NodeStatus[node_status];
if(options.username_prefix)
output += options.username_prefix;
if(js.global.bbs && (node.misc&NODE_ANON) && !is_sysop)
output += bbs.text(UNKNOWN_USER);
else
output += system.username(node.useron);
break;
default:
output += format(NodeStatus[node_status], node.aux);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment