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) { ...@@ -494,9 +494,9 @@ void node_toggles(int nodenum) {
break; break;
case 5: /* Down */ case 5: /* Down */
if(node.status == NODE_INUSE) if(node.status == NODE_INUSE || node.status==NODE_LOGON)
node.misc ^= NODE_DOWN; node.misc ^= NODE_DOWN;
if(node.status != NODE_INUSE) { else {
if(node.status!=NODE_OFFLINE) if(node.status!=NODE_OFFLINE)
node.status=NODE_OFFLINE; node.status=NODE_OFFLINE;
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment