diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-07-03 00:36:14 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-07-03 00:36:14 +0000 |
commit | bd239ed35a3f31a75689a204ba92043c86bc29db (patch) | |
tree | e30673999a03cec51a920356e3a94a1e857e2063 /Echolot/Storage | |
parent | 04f38d78e593cd0387e3eaa5e6456551299d6cc5 (diff) |
Handle empty metafiles fix
Diffstat (limited to 'Echolot/Storage')
-rw-r--r-- | Echolot/Storage/File.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Echolot/Storage/File.pm b/Echolot/Storage/File.pm index ac8fe08..26b7ed8 100644 --- a/Echolot/Storage/File.pm +++ b/Echolot/Storage/File.pm @@ -1,7 +1,7 @@ package Echolot::Storage::File; # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $Id: File.pm,v 1.18 2002/07/03 00:33:40 weasel Exp $ +# $Id: File.pm,v 1.19 2002/07/03 00:36:14 weasel Exp $ # =pod @@ -153,8 +153,8 @@ sub metadata_read($) { if ($self->{'METADATA_FILE_IS_NEW'}) { $self->{'METADATA'}->{'version'} = $METADATA_VERSION; - $self->{'METADATA'}->{'addresses'} = (); - $self->{'METADATA'}->{'remailers'} = (); + $self->{'METADATA'}->{'addresses'} = {}; + $self->{'METADATA'}->{'remailers'} = {}; $self->{'METADATA_FILE_IS_NEW'} = 0; $self->commit(); |