Skip to content
Snippets Groups Projects
Commit dbe0f70a authored by deuce's avatar deuce
Browse files

Don't clobber NODE_LOGON with NODE_OFFLINE

parent 4f376e16
No related branches found
No related tags found
No related merge requests found
......@@ -494,9 +494,9 @@ void node_toggles(int nodenum) {
break;
case 5: /* Down */
if(node.status == NODE_INUSE)
if(node.status == NODE_INUSE || node.status==NODE_LOGON)
node.misc ^= NODE_DOWN;
if(node.status != NODE_INUSE) {
else {
if(node.status!=NODE_OFFLINE)
node.status=NODE_OFFLINE;
else
......
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