Commit 47fefe0e authored by rswindell's avatar rswindell

Node status fixup in nodesync() only if (sys_status&SS_USERON).

parent 16aff649
......@@ -115,16 +115,17 @@ void sbbs_t::nodesync()
putnodedat(cfg.node_num,&thisnode);
}
if(thisnode.status==NODE_WFC) {
errorlog("NODE STATUS FIXUP");
getnodedat(cfg.node_num,&thisnode,1);
thisnode.status=NODE_INUSE;
putnodedat(cfg.node_num,&thisnode);
}
criterrs=thisnode.errors;
if(sys_status&SS_USERON) {
if(thisnode.status==NODE_WFC) {
errorlog("NODE STATUS FIXUP");
getnodedat(cfg.node_num,&thisnode,1);
thisnode.status=NODE_INUSE;
putnodedat(cfg.node_num,&thisnode);
}
if(!(sys_status&SS_NEWDAY)) {
now=time(NULL);
unixtodstr(&cfg,logontime,str);
......
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