From bd239ed35a3f31a75689a204ba92043c86bc29db Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 3 Jul 2002 00:36:14 +0000 Subject: Handle empty metafiles fix --- Echolot/Storage/File.pm | 6 +++--- 1 file 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 -# $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(); -- cgit v1.2.3