diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-07-02 17:06:59 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-07-02 17:06:59 +0000 |
commit | 855080248a9c0c9d53ea9b57816a4156e6b7be52 (patch) | |
tree | aac5ca1106f563a31adf9f2f7cdbc3ddfafec7d8 | |
parent | e9cb34b156f1cbc1961b89d90131b7ea025df31c (diff) |
only fetch keys and confs if fetch is set for remailer
-rw-r--r-- | Echolot/Conf.pm | 3 | ||||
-rw-r--r-- | TODO | 1 |
2 files changed, 2 insertions, 2 deletions
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 <peter@palfrader.org> -# $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( @@ -1,6 +1,5 @@ for 2.0: make setup easy/document setup - only fetch keys and confs remailers if fetch is set make a private [rm]list showing all remailers ping cpunk without pgponly in clear too configure pinging options (i.e. cpunkt-{rsa,dsa,none}, mix) |