From 855080248a9c0c9d53ea9b57816a4156e6b7be52 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 2 Jul 2002 17:06:59 +0000 Subject: only fetch keys and confs if fetch is set for remailer --- Echolot/Conf.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Echolot') diff --git a/Echolot/Conf.pm b/Echolot/Conf.pm index 016926f..76b8aa0 100644 --- a/Echolot/Conf.pm +++ b/Echolot/Conf.pm @@ -1,7 +1,7 @@ package Echolot::Conf; # (c) 2002 Peter Palfrader -# $Id: Conf.pm,v 1.7 2002/06/20 04:27:07 weasel Exp $ +# $Id: Conf.pm,v 1.8 2002/07/02 17:06:59 weasel Exp $ # =pod @@ -28,6 +28,7 @@ sub send_requests() { Echolot::Globals::get()->{'storage'}->delay_commit(); for my $remailer (Echolot::Globals::get()->{'storage'}->get_addresses()) { next unless ($remailer->{'status'} eq 'active'); + next unless ($remailer->{'fetch'}); print "Sending requests to ".$remailer->{'address'}."\n"; for my $type (qw{conf key help stats}) { Echolot::Tools::send_message( -- cgit v1.2.3