summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 0600494..8da796d 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -583,7 +583,8 @@ qq{select * from pending_mails where email = ? and num_tries > 1;}
$self->helper(
sendmail => sub {
state $sendmail
- = Travelynx::Helper::Sendmail->new( config => $self->config );
+ = Travelynx::Helper::Sendmail->new(
+ config => ( $self->config->{mail} // {} ) );
}
);