From fa1f293f46ca3f089bdcb65664dea854fd226bef Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Windows)" <rob@synchro.net>
Date: Thu, 2 Feb 2023 13:47:32 -0800
Subject: [PATCH] Sysop can chat with nodes that aren't logged-in (at logon
 prompt, new users)

Be sure to let them select a node even when no nodes are technically "in use".
As requested by Nelgin in IRC (what, no gitlab issue?)
---
 src/sbbs3/chat.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/chat.cpp b/src/sbbs3/chat.cpp
index f2c1342d7f..73b7e8b66f 100644
--- a/src/sbbs3/chat.cpp
+++ b/src/sbbs3/chat.cpp
@@ -1262,7 +1262,7 @@ int sbbs_t::getnodetopage(int all, int telegram)
 		getnodedat(i,&node,0);
 		if(i==cfg.node_num)
 			continue;
-		if(node.status==NODE_INUSE || (SYSOP && node.status==NODE_QUIET)) {
+		if(node.status==NODE_INUSE || (SYSOP && node.status >= NODE_LOGON && node.status <= NODE_QUIET)) {
 			if(!lastnodemsg)
 				lastnodemsg=i;
 			j++; 
-- 
GitLab