Explorar el Código

Update push script for Mojo changes

 - http://mojolicio.us/perldoc/Mojo/UserAgent/CookieJar.txt
Joe Ferguson hace 11 años
padre
commit
f01231d766
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      push.pl

+ 1 - 1
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