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

Display the sysop name for the local sysop chat node action

(e.g. "in private chat with digital man" rather than
"in private chat with sysop").
parent 0adb549b
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 2012 Rob Swindell - http://www.synchro.net/copyright.html * * Copyright 2013 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 *
...@@ -951,8 +951,10 @@ char* DLLCALL nodestatus(scfg_t* cfg, node_t* node, char* buf, size_t buflen) ...@@ -951,8 +951,10 @@ char* DLLCALL nodestatus(scfg_t* cfg, node_t* node, char* buf, size_t buflen)
,"paging node %u for private chat",node->aux); ,"paging node %u for private chat",node->aux);
break; break;
case NODE_PCHT: case NODE_PCHT:
if(!node->aux) if(node->aux==0)
strcat(str,"in local chat with sysop"); sprintf(str+strlen(str)
,"in local chat with %s"
,cfg->sys_op);
else else
sprintf(str+strlen(str) sprintf(str+strlen(str)
,"in private chat with node %u" ,"in private chat with node %u"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment