Disabling inactivity timeout now works

This commit is contained in:
mysticbbs 2012-07-24 21:32:16 -04:00
parent f18c1efef5
commit 76acbaf774
1 changed files with 1 additions and 1 deletions

View File

@ -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);