summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-12-20 03:37:17 +0000
committerfukachan <fukachan>2002-12-20 03:37:17 +0000
commit0664bbe59e944fd5c8052124aca650368126e635 (patch)
tree24e6ba513f9e74ffe730c55a61764820f21307d6
parent8fc6126f6cb973b64f2aef8c44a921d7b98f77a5 (diff)
downloadfml8-0664bbe59e944fd5c8052124aca650368126e635.tar.gz
fml8-0664bbe59e944fd5c8052124aca650368126e635.tar.bz2
fml8-0664bbe59e944fd5c8052124aca650368126e635.zip
s/rerply-to/Reply-To/.
more defiend() check.
-rw-r--r--fml/lib/FML/Header.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/FML/Header.pm b/fml/lib/FML/Header.pm
index f30d1c29..41b78024 100644
--- a/fml/lib/FML/Header.pm
+++ b/fml/lib/FML/Header.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Header.pm,v 1.49 2002/09/22 14:56:40 fukachan Exp $
+# $FML: Header.pm,v 1.50 2002/12/18 03:41:41 fukachan Exp $
#
package FML::Header;
@@ -411,7 +411,7 @@ sub rewrite_reply_to
my $reply_to = $header->get('reply-to') || '';
unless ($reply_to) {
- $header->add('reply-to', $config->{ address_for_post });
+ $header->add('Reply-To', $config->{ address_for_post });
}
}
@@ -509,7 +509,7 @@ sub extract_message_id_references
my %uniq = ();
foreach my $addr (@addrs) {
my $a = $addr->address;
- unless ($uniq{ $a }) {
+ unless (defined($uniq{ $a }) && $uniq{ $a }) {
push(@r, $addr->address);
$uniq{ $a } = 1;
}