From e77e26cdedbdba71de71fb7f1d43e3e1be69cfc9 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 10 Jul 2017 21:53:34 -0700 Subject: [PATCH] Always update last session time --- miniserv.pl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/miniserv.pl b/miniserv.pl index bd55d3cd2..0922f2b73 100755 --- a/miniserv.pl +++ b/miniserv.pl @@ -1105,11 +1105,7 @@ while(1) { else { # Session is OK print $outfd "2 $user\n"; - if ($lot && - $time_now - $ltime > - ($lot*60)/2) { - $sessiondb{$skey} = "$user $time_now $ip"; - } + $sessiondb{$skey} = "$user $time_now $ip"; } } }