Skip to content
Snippets Groups Projects
Commit c6d6ee51 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Correct node number *always* before clearning NODE_RRUN [R] status flag

If nodeX/node.cnf has the wrong node number, the [R] flag would be cleared from
the wrong node upon automatic configuration reload. This likely fixes the issue that Keyop is reporting in #synchronet
parent 1effe6c5
Branches
Tags
No related merge requests found
......@@ -5602,8 +5602,8 @@ NO_SSH:
sbbs->putnodedat(cfg->node_num,&node);
continue;
}
cfg->node_num = i; // correct the node number
}
cfg->node_num = i; // correct the node number
if(node.misc & NODE_RRUN) {
sbbs->getnodedat(cfg->node_num,&node,true);
node.misc &= ~NODE_RRUN;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment