From ed8fffb77870ea7079318594dab75b2b2712f00f Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Debian Linux)" <rob@synchro.net>
Date: Thu, 2 Feb 2023 13:14:15 -0800
Subject: [PATCH] Make the chat (F10) work even when user is not logged-in

A sysop can, and may want to, chat with a user before they succesfully login.
---
 src/sbbs3/umonitor/umonitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/umonitor/umonitor.c b/src/sbbs3/umonitor/umonitor.c
index c9aced368f..19bffd961e 100644
--- a/src/sbbs3/umonitor/umonitor.c
+++ b/src/sbbs3/umonitor/umonitor.c
@@ -1200,7 +1200,7 @@ USAGE:
 				uifc.msg("Error reading node data!");
 				continue;
 			}
-			if(node.status >= NODE_LOGON && node.status <= NODE_QUIET && node.useron) {
+			if(node.status >= NODE_LOGON && node.status <= NODE_QUIET) {
 				int result = chat(&cfg,main_dflt,&node,&boxch,NULL);
 				if(result != 0)
 					uifc.msgf("Chat error: %d (%s)", result, strerror(errno));
-- 
GitLab