From 94e0a261c2018bf711b9c359db2cfe8b9514f58d Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Mon, 28 Jan 2002 20:16:35 +0000
Subject: [PATCH] Turns off all user-specific node bits when node_thread ends
 (was in logout()).

---
 src/sbbs3/main.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp
index f159d64cc5..7db1aef517 100644
--- a/src/sbbs3/main.cpp
+++ b/src/sbbs3/main.cpp
@@ -2851,7 +2851,8 @@ void node_thread(void* arg)
 		node.status=NODE_OFFLINE;
 	else
 		node.status=NODE_WFC;
-	node.misc&=~NODE_DOWN;
+	node.misc&=~(NODE_DOWN|NODE_INTR|NODE_MSGW|NODE_NMSG
+				|NODE_UDAT|NODE_POFF|NODE_AOFF|NODE_EXT);
 	node.useron=0;
 	sbbs->putnodedat(sbbs->cfg.node_num,&node);
 
-- 
GitLab