Commit dbe0f70a authored by deuce's avatar deuce
Browse files

Don't clobber NODE_LOGON with NODE_OFFLINE

parent 4f376e16
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment