From f01231d7663c4e014d3125fa6aba2e3e549b5927 Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Wed, 18 Feb 2015 14:23:50 -0800 Subject: [PATCH] Update push script for Mojo changes - http://mojolicio.us/perldoc/Mojo/UserAgent/CookieJar.txt --- push.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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