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

Merge branch 'master' of gitlab.synchro.net:main/sbbs

parents 0d47976a 0f76860d
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -200,11 +200,14 @@ void sbbs_t::nodesync(bool clearline) ...@@ -200,11 +200,14 @@ void sbbs_t::nodesync(bool clearline)
if(thisnode.misc&NODE_FCHAT) { // forced into private chat if(thisnode.misc&NODE_FCHAT) { // forced into private chat
int n = getpagingnode(&cfg); int n = getpagingnode(&cfg);
if(n) { if(n) {
uint save_action = action;
SAVELINE; SAVELINE;
privchat(true, n); privchat(true, n);
action = save_action;
RESTORELINE; RESTORELINE;
} }
if(getnodedat(cfg.node_num, &thisnode, true)==0) { if(getnodedat(cfg.node_num, &thisnode, true)==0) {
thisnode.action = action;
thisnode.misc &= ~NODE_FCHAT; thisnode.misc &= ~NODE_FCHAT;
putnodedat(cfg.node_num, &thisnode); putnodedat(cfg.node_num, &thisnode);
} }
......
...@@ -1276,6 +1276,8 @@ char* nodestatus(scfg_t* cfg, node_t* node, char* buf, size_t buflen, int num) ...@@ -1276,6 +1276,8 @@ char* nodestatus(scfg_t* cfg, node_t* node, char* buf, size_t buflen, int num)
strcat(str,"D"); strcat(str,"D");
if(node->misc&NODE_LCHAT) if(node->misc&NODE_LCHAT)
strcat(str,"C"); strcat(str,"C");
if(node->misc&NODE_FCHAT)
strcat(str,"F");
strcat(str,"]"); strcat(str,"]");
} }
if(node->errors) if(node->errors)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment