Skip to content
Snippets Groups Projects
Commit d5a79d00 authored by rswindell's avatar rswindell
Browse files

getkey() now returns immediately if input_thread isn't running (stops event...

getkey() now returns immediately if input_thread isn't running (stops event thread from waiting for user input).
parent 8bcab878
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment