From b0857c6ae2ecd211b7f356a50e32ccc1b021e2a7 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 18 Aug 2002 06:18:00 +0000 Subject: Fixed for real --- Echolot/Conf.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Echolot/Conf.pm b/Echolot/Conf.pm index ed77b51..1b0ad9d 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.24 2002/08/18 06:16:25 weasel Exp $ +# $Id: Conf.pm,v 1.25 2002/08/18 06:18:00 weasel Exp $ # =pod @@ -58,7 +58,7 @@ sub send_requests($;$) { for my $type (qw{conf key help stats adminkey}) { - next if ($which ne 'all' && $this_call_id ne (Echolot::Tools::makeShortNumHash($address.$type) % $send_every_n_calls)); + next if ($which ne $address && $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'}; -- cgit v1.2.3