diff --git a/webv4/lib/events/nodelist.js b/webv4/lib/events/nodelist.js index dcc3eef91d8403490fa0400927175219b6ef4afb..9efe98e5c77343e1075114a4b9ab861e08f77c0c 100644 --- a/webv4/lib/events/nodelist.js +++ b/webv4/lib/events/nodelist.js @@ -29,7 +29,9 @@ function scan_nodes() { change = true; const obj = { status: n.status, + vstatus: strip_ctrl(n.vstatus), action: n.action, + activity: strip_ctrl(n.activity), aux: n.aux, misc: n.misc, extaux: n.extaux, @@ -85,7 +87,7 @@ function scan() { return { node: i + 1, - status: format(NodeStatus[e.status], e.aux, e.extaux), + status: format(e.vstatus || NodeStatus[e.status], e.aux, e.extaux), action: node_status(e, user.is_sysop, {exclude_username: true, exclude_connection: true}, i), user: (e.misc & NODE_ANON) && !user.is_sysop ? "Anonymous" : usr.alias, connection : NodeConnectionProper[e.connection] ? NodeConnectionProper[e.connection] : (e.connection + ' bps')