diff options
author | Peter Palfrader <peter@palfrader.org> | 2003-05-21 00:28:35 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2003-05-21 00:28:35 +0000 |
commit | 2c473a9b9167e3b5e00ab378145bf4ef9e5dbb56 (patch) | |
tree | 4add3f9482edfd26451ed16d714dd360976a5924 /Echolot | |
parent | 4dba92d97804dce8ccd1a844973b3fbc9cbe3f0d (diff) |
Check if nick is defined in remailer-key parsing
Diffstat (limited to 'Echolot')
-rw-r--r-- | Echolot/Conf.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Echolot/Conf.pm b/Echolot/Conf.pm index 176df6a..ba040af 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.38 2003/02/16 09:09:57 weasel Exp $ +# $Id: Conf.pm,v 1.39 2003/05/21 00:28:35 weasel Exp $ # =pod @@ -303,6 +303,9 @@ sub parse_mix_key($$$) { for my $keyid (keys %mixmasters) { my $remailer_address = $mixmasters{$keyid}->{'address'}; + (defined $mixmasters{$keyid}->{'nick'}) or + Echolot::Log::info("Could not parse a remailer-key reply."), + next; (defined $mixmasters{$keyid}->{'nick'} && ! defined $mixmasters{$keyid}->{'key'}) and Echolot::Log::info("Mixmaster key header without key in reply from $remailer_address."), next; |