From fe6ac26bc5d20d24087e56e65048c46b0dae19c8 Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Tue, 22 Sep 2020 21:23:11 -0700
Subject: [PATCH] Fix previous commit: node status range LOGON <-> QUIET

---
 src/sbbs3/umonitor/umonitor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sbbs3/umonitor/umonitor.c b/src/sbbs3/umonitor/umonitor.c
index c401f59c20..b89118e6e2 100644
--- a/src/sbbs3/umonitor/umonitor.c
+++ b/src/sbbs3/umonitor/umonitor.c
@@ -1192,7 +1192,7 @@ USAGE:
 				uifc.msg("Error reading node data!");
 				continue;
 			}
-			if(node.status >= NODE_INUSE && node.status <= NODE_QUIET && node.useron) {
+			if(node.status >= NODE_LOGON && node.status <= NODE_QUIET && node.useron) {
 				int result = chat(&cfg,main_dflt,&node,&boxch,NULL);
 				if(result != 0)
 					uifc.msgf("Chat error: %d (%s)", result, strerror(errno));
@@ -1261,7 +1261,7 @@ USAGE:
 			continue;
 
 		if(j<=cfg.sys_nodes && j>0) {
-			if(node.status >= NODE_INUSE && node.status <= NODE_QUIET && node.useron) {
+			if(node.status >= NODE_LOGON && node.status <= NODE_QUIET && node.useron) {
 				i=0;
 				strcpy(opt[i++],"Edit User");
 				strcpy(opt[i++],"Spy on node");
-- 
GitLab