summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Echolot/Thesaurus.pm6
-rw-r--r--NEWS2
2 files changed, 5 insertions, 3 deletions
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 <peter@palfrader.org>
-# $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)
diff --git a/NEWS b/NEWS
index d7a07b3..61b3edd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
Changes in version
* Added commands buildstats buildkeys and buildthesaurus
* Added legend to templates (Orange)
+ * Thesaurus building failed when an id did not return a
+ valid remailer. A check was there bug it was wrong.
Changes in version 2.0beta13 - 2002-07-13
* Have correct title tags and some layout changes in the HTML templates