From ce7cabe5f8b02bfe6ad9dd400020e3ebd9a67578 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 15 Jul 2002 20:19:12 +0000 Subject: Fix a bug reported by Bill O'Hanlon --- Echolot/Thesaurus.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Echolot/Thesaurus.pm') diff --git a/Echolot/Thesaurus.pm b/Echolot/Thesaurus.pm index 230b322..b7d4a1b 100644 --- a/Echolot/Thesaurus.pm +++ b/Echolot/Thesaurus.pm @@ -1,7 +1,7 @@ package Echolot::Thesaurus; # (c) 2002 Peter Palfrader -# $Id: Thesaurus.pm,v 1.7 2002/07/13 19:59:16 weasel Exp $ +# $Id: Thesaurus.pm,v 1.8 2002/07/15 20:18:29 weasel Exp $ # =pod @@ -61,8 +61,8 @@ sub build_thesaurus() { my ($id, $what) = $filename =~ /^(\d+)\.(adminkey|conf|help|key|stats)$/; next unless (defined $id && defined $what); - my $remailer = Echolot::Globals::get()->{'storage'}->get_address_by_id($id); - next return 0 unless defined $remailer; + my $remailer = Echolot::Globals::get()->{'storage'}->get_address_by_id($id); + next unless defined $remailer; my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) -- cgit v1.2.3