Fixing up error passing.

This commit is contained in:
Chris 2012-08-16 14:15:39 +01:00
parent 63dfa87505
commit b098d3fb57

View File

@ -370,7 +370,7 @@ sub deliver_queue {
$self -> update_status($message -> {"id"},
$transport -> {"id"},
$sent ? "sent" : "failed",
$sent ? undef : $transport -> {"errstr"})
$sent ? undef : $transport -> {"module"} -> {"errstr"})
or return undef;
}
}