Fix received_line hook behaviour (#312)
This commit is contained in:
parent
265672ce2b
commit
bf64ac9699
@ -860,8 +860,8 @@ sub received_line {
|
|||||||
my $header_str;
|
my $header_str;
|
||||||
my ($rc, @received) =
|
my ($rc, @received) =
|
||||||
$self->run_hooks("received_line", $smtp, $authheader, $sslheader);
|
$self->run_hooks("received_line", $smtp, $authheader, $sslheader);
|
||||||
if ($rc == OK) {
|
if ($rc == OK) {
|
||||||
return join("\n", @received);
|
$header_str = join("\n", @received);
|
||||||
}
|
}
|
||||||
else { # assume $rc == DECLINED
|
else { # assume $rc == DECLINED
|
||||||
$header_str =
|
$header_str =
|
||||||
|
Loading…
Reference in New Issue
Block a user