From d5a79d0079c34fb520afb1cf667402e6b268dba6 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Tue, 28 Nov 2000 02:41:50 +0000 Subject: [PATCH] getkey() now returns immediately if input_thread isn't running (stops event thread from waiting for user input). --- src/sbbs3/getkey.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/getkey.cpp b/src/sbbs3/getkey.cpp index f1e0fdaff6..9ee719bbcb 100644 --- a/src/sbbs3/getkey.cpp +++ b/src/sbbs3/getkey.cpp @@ -47,7 +47,7 @@ char sbbs_t::getkey(long mode) { char ch,coldkey,c=0,spin=sbbs_random(5); - if(!online) + if(!online || !input_thread_running) return(0); sys_status&=~SS_ABORT; if((sys_status&SS_USERON || action==NODE_DFLT) && !(mode&K_GETSTR)) -- GitLab