Commit 0adb549b authored by rswindell's avatar rswindell

Correctly parse the aux=0 value for the "private chat" action and display as

"local chat with sysop" rather than "private chat with node 0".
parent d858bca9
......@@ -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 2009 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 *
......@@ -336,7 +336,7 @@ void printnodedat(int number, node_t node)
printf("logging on");
break;
case NODE_LCHT:
printf("in local chat with sysop");
printf("in local chat with sysop (deprecated)");
break;
case NODE_MCHT:
if(node.aux) {
......@@ -351,7 +351,10 @@ void printnodedat(int number, node_t node)
printf("paging node %u for private chat",node.aux);
break;
case NODE_PCHT:
printf("in private chat with node %u",node.aux);
if(node.aux==0)
printf("in local chat with sysop");
else
printf("in private chat with node %u",node.aux);
break;
case NODE_GCHT:
printf("chatting with The Guru");
......
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