diff options
author | Eric Wong <e@80x24.org> | 2016-06-25 10:56:59 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-25 10:56:59 +0000 |
commit | 13eda978e8937065575623d045f78592cbb6d022 (patch) | |
tree | 34dea0c86802f8808b18a2d70fafb5f23000c740 /t | |
parent | dde6d1169d8f9d6aaede9730144d1f60be2134c8 (diff) | |
download | public-inbox-13eda978e8937065575623d045f78592cbb6d022.tar.gz |
Address::names is sufficient to handle what from_name did.
Diffstat (limited to 't')
-rw-r--r-- | t/mda.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ local $ENV{GIT_COMMITTER_NAME} = eval { my $msg = Email::MIME->new($str); my $from = $msg->header('From'); - my $author = PublicInbox::Address::from_name($from); + my ($author) = PublicInbox::Address::names($from); my ($email) = PublicInbox::Address::emails($from); my $date = $msg->header('Date'); |