From 93060fafb9c895aee5252e03d12bec14dfdf12bf Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 18 Aug 2002 06:16:25 +0000 Subject: If you request keyconf from only a few remailers more requests could have been sent. Fixed that. --- Echolot/Conf.pm | 7 +++---- NEWS | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Echolot/Conf.pm b/Echolot/Conf.pm index f5872da..ed77b51 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.23 2002/07/22 02:18:30 weasel Exp $ +# $Id: Conf.pm,v 1.24 2002/08/18 06:16:25 weasel Exp $ # =pod @@ -54,12 +54,11 @@ sub send_requests($;$) { next unless ($remailer->{'status'} eq 'active'); next unless ($remailer->{'fetch'}); my $address = $remailer->{'address'}; + next if ($which ne 'all' && $which ne $address ); for my $type (qw{conf key help stats adminkey}) { - next if ($this_call_id ne (Echolot::Tools::makeShortNumHash($address.$type) % $send_every_n_calls) && - $which ne 'all' && - $which ne $address ); + next if ($which ne 'all' && $this_call_id ne (Echolot::Tools::makeShortNumHash($address.$type) % $send_every_n_calls)); print "Sending $type requests to ".$address."\n" if Echolot::Config::get()->{'verbose'}; diff --git a/NEWS b/NEWS index 812717f..1dbd082 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,7 @@ Changes in version * Have a consistent name for the ~/echolot directory in README. + * If you request keyconf from only a few remailers more requests could + have been sent. Fixed that. Changes in version 2.0beta30 - 2002-08-15 * Write NAME and ADDRESS to mix.cfg - mix cannot figure it out -- cgit v1.2.3