summaryrefslogtreecommitdiff
path: root/Echolot
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2003-11-04 04:15:00 +0000
committerPeter Palfrader <peter@palfrader.org>2003-11-04 04:15:00 +0000
commitb717666cf371a74b3c24e875ca01da5b3daf856b (patch)
tree5a786d9ed6270892802fc793c818b20ee7080d80 /Echolot
parentd30f9dc0b7ff31ace5086df274718900a31642f1 (diff)
also ignore testing remailers in the thesaurus
Diffstat (limited to 'Echolot')
-rw-r--r--Echolot/Thesaurus.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Echolot/Thesaurus.pm b/Echolot/Thesaurus.pm
index 6662e5e..e2a9f64 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.15 2003/02/17 09:14:47 weasel Exp $
+# $Id: Thesaurus.pm,v 1.16 2003/11/04 04:15:00 weasel Exp $
#
=pod
@@ -62,6 +62,9 @@ sub build_thesaurus() {
my $remailer = Echolot::Globals::get()->{'storage'}->get_address_by_id($id);
next unless defined $remailer;
next unless $remailer->{'showit'};
+ my $caps = Echolot::Globals::get()->{'storage'}->get_capabilities($remailer->{'address'});
+ next unless defined $caps;
+ next unless $caps !~ m/\btesting\b/i;
my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks)