From 4bc000b98b613dec2ffa325336b1b8299e1285db Mon Sep 17 00:00:00 2001 From: mysticbbs Date: Mon, 30 Jul 2012 18:18:51 -0400 Subject: [PATCH] User inactivity timeout flag --- 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 b2f686a..c2d463b 100644 --- a/mystic/bbs_io.pas +++ b/mystic/bbs_io.pas @@ -1276,7 +1276,7 @@ Begin InMacro := False; If TBBSCore(Core).CheckTimeOut Then - If (Config.Inactivity > 0) and (TimerSeconds - TBBSCore(Core).TimeOut >= Config.Inactivity) Then Begin + If (Config.Inactivity > 0) and (Session.User.ThisUser.Flags And UserNoTimeOut = 0) and (TimerSeconds - TBBSCore(Core).TimeOut >= Config.Inactivity) Then Begin TBBSCore(Core).SystemLog('Inactivity timeout'); OutFullLn (TBBSCore(Core).GetPrompt(136)); Halt(0);