Always update last session time

This commit is contained in:
Jamie Cameron
2017-07-10 21:53:34 -07:00
parent 8396e71c96
commit e77e26cded

View File

@@ -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";
}
}
}