Skip to content

Commit

Permalink
use an explicit return value
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 10, 2015
1 parent 3528588 commit e48a48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/UserAgent.pm
Expand Up @@ -517,7 +517,7 @@ L<Mojo::UserAgent::CookieJar> object.
my $ps = IO::Socket::SSL::PublicSuffix->default;
$ua->cookie_jar->ignore(sub {
my $cookie = shift;
return unless my $domain = $cookie->domain;
return undef unless my $domain = $cookie->domain;
return ($ps->public_suffix($domain))[0] eq '';
});
Expand Down

0 comments on commit e48a48c

Please sign in to comment.