diff --git a/src/sbbs3/userdat.c b/src/sbbs3/userdat.c index 41b69f168c5750f07f23200695d7d44a221e11f6..10df2ddc62d537cfba71edf4cc3976eef1d22093 100644 --- a/src/sbbs3/userdat.c +++ b/src/sbbs3/userdat.c @@ -8,7 +8,7 @@ * @format.tab-size 4 (Plain Text/Source Code File Header) * * @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 * * 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) ,"paging node %u for private chat",node->aux); break; case NODE_PCHT: - if(!node->aux) - strcat(str,"in local chat with sysop"); + if(node->aux==0) + sprintf(str+strlen(str) + ,"in local chat with %s" + ,cfg->sys_op); else sprintf(str+strlen(str) ,"in private chat with node %u"