diff options
Diffstat (limited to 'Echolot/Chain.pm')
-rw-r--r-- | Echolot/Chain.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Echolot/Chain.pm b/Echolot/Chain.pm index c2c1f56..d6ccda1 100644 --- a/Echolot/Chain.pm +++ b/Echolot/Chain.pm @@ -1,7 +1,7 @@ package Echolot::Chain; # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $Id: Chain.pm,v 1.10 2003/02/18 06:57:07 weasel Exp $ +# $Id: Chain.pm,v 1.11 2003/02/20 14:05:19 weasel Exp $ # =pod @@ -122,7 +122,7 @@ sub get_latest_key($$) { my $chosen = undef; for my $keyid (Echolot::Globals::get()->{'storage'}->get_keys($address, $type)) { my %key = Echolot::Globals::get()->{'storage'}->get_key($address, $type, $keyid); - $chosen = $keyid if $latest < $key{'last_update'}; + $chosen = $keyid, $latest= $key{'last_update'} if $latest < $key{'last_update'}; }; return $chosen; }; |