From 76acbaf7745e251b01e1d59a4f3e6ceea6d1a250 Mon Sep 17 00:00:00 2001 From: mysticbbs Date: Tue, 24 Jul 2012 21:32:16 -0400 Subject: [PATCH] Disabling inactivity timeout now works --- mystic/bbs_io.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mystic/bbs_io.pas b/mystic/bbs_io.pas index 80bca71..b2f686a 100644 --- a/mystic/bbs_io.pas +++ b/mystic/bbs_io.pas @@ -1276,7 +1276,7 @@ Begin InMacro := False; If TBBSCore(Core).CheckTimeOut Then - If TimerSeconds - TBBSCore(Core).TimeOut >= Config.Inactivity Then Begin + If (Config.Inactivity > 0) and (TimerSeconds - TBBSCore(Core).TimeOut >= Config.Inactivity) Then Begin TBBSCore(Core).SystemLog('Inactivity timeout'); OutFullLn (TBBSCore(Core).GetPrompt(136)); Halt(0);