Skip to content
Snippets Groups Projects
Commit 80121b54 authored by rswindell's avatar rswindell
Browse files

When performing a node status fixup, set the useron number field as well.

parent 2da8d452
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* * * *
* Copyright 2011 Rob Swindell - http://www.synchro.net/copyright.html * * Copyright Rob Swindell - http://www.synchro.net/copyright.html *
* * * *
* This program is free software; you can redistribute it and/or * * This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License * * modify it under the terms of the GNU General Public License *
...@@ -135,6 +135,7 @@ void sbbs_t::nodesync() ...@@ -135,6 +135,7 @@ void sbbs_t::nodesync()
lprintf(LOG_ERR, "Node %d NODE STATUS FIXUP", cfg.node_num); lprintf(LOG_ERR, "Node %d NODE STATUS FIXUP", cfg.node_num);
if(getnodedat(cfg.node_num,&thisnode,true)==0) { if(getnodedat(cfg.node_num,&thisnode,true)==0) {
thisnode.status=NODE_INUSE; thisnode.status=NODE_INUSE;
thisnode.useron=useron.number;
putnodedat(cfg.node_num,&thisnode); putnodedat(cfg.node_num,&thisnode);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment