Commits (1)
  • Rob Swindell's avatar
    Check for user disconnection in CheckTerminate() · dee6266e
    Rob Swindell authored
    A user disconnecting while running tw2 would just result in an infinite loop
    checking node status and waiting for the user's allowed time to run out (which
    may never happen) or for the server to be locally terminated.
    
    This has been happening for years on Vertrauen. Finally now I see why.
    dee6266e
......@@ -38,7 +38,7 @@ function CheckTime()
function CheckTerminate()
{
if(js.terminated)
if(js.terminated || !bbs.online)
exit(0);
}
......