diff --git a/push.pl b/push.pl index 4e43983b2..e3c9820c4 100755 --- a/push.pl +++ b/push.pl @@ -41,7 +41,7 @@ Mojo::Util::monkey_patch 'Mojo::UserAgent::CookieJar', find => sub { # Check if cookie has expired my $expires = $cookie->expires; - next if $expires && time > ($expires->epoch || 0); + next if $expires && time > ($expires || 0); #push @$new, $cookie; # Taste cookie