diff options
author | Peter Palfrader <peter@palfrader.org> | 2004-04-24 12:01:04 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2004-04-24 12:01:04 +0000 |
commit | c81ff6b6a0c58e927c61d59b03f142f400e31ef4 (patch) | |
tree | 4a192315cc2b34c490f172d29e56e59b3c3bb5d8 /Echolot/Stats.pm | |
parent | cba4fede6001197482b3d6c79dd698aae4232339 (diff) |
Remove get_remailers since get_addresses does almost the same.
Make sure we do not create empty key hashes in metadata.
Diffstat (limited to 'Echolot/Stats.pm')
-rw-r--r-- | Echolot/Stats.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Echolot/Stats.pm b/Echolot/Stats.pm index 5773de0..cdb2372 100644 --- a/Echolot/Stats.pm +++ b/Echolot/Stats.pm @@ -457,7 +457,7 @@ sub build_rems($) { my ($types) = @_; my %rems; - for my $remailer (Echolot::Globals::get()->{'storage'}->get_remailers()) { + for my $remailer (Echolot::Globals::get()->{'storage'}->get_addresses()) { my $addr = $remailer->{'address'}; my $has_type = 0; for my $type (@$types) { @@ -788,7 +788,7 @@ sub build_mixring() { return 0; my $data; - for my $remailer (Echolot::Globals::get()->{'storage'}->get_remailers()) { + for my $remailer (Echolot::Globals::get()->{'storage'}->get_addresses()) { my $addr = $remailer->{'address'}; next unless Echolot::Globals::get()->{'storage'}->has_type($addr, 'mix'); @@ -839,7 +839,7 @@ sub build_mixring() { sub build_pgpring_type($$$$) { my ($type, $GnuPG, $keyring, $keyids) = @_; - for my $remailer (Echolot::Globals::get()->{'storage'}->get_remailers()) { + for my $remailer (Echolot::Globals::get()->{'storage'}->get_addresses()) { my $addr = $remailer->{'address'}; next unless Echolot::Globals::get()->{'storage'}->has_type($addr, $type); |