diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-17 07:07:05 -0400 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-17 07:07:05 -0400 |
commit | d9b82a4133ad2be1377c29ea24f37b8cc58ff6f5 (patch) | |
tree | e40d9151aef2cb945ccde60bd548d4183e05c406 /lib/Travelynx/Helper | |
parent | 1150021d2e80f08096620c9f294b2401aeb40aa2 (diff) |
Sendmail: Actually print info log messages as documented
Diffstat (limited to 'lib/Travelynx/Helper')
-rw-r--r-- | lib/Travelynx/Helper/Sendmail.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Helper/Sendmail.pm b/lib/Travelynx/Helper/Sendmail.pm index 9f19e74..fa3c4fd 100644 --- a/lib/Travelynx/Helper/Sendmail.pm +++ b/lib/Travelynx/Helper/Sendmail.pm @@ -31,7 +31,7 @@ sub custom { if ( $self->{config}->{disabled} ) { # Do not send mail in dev mode - say "sendmail to ${to}: ${subject}\n\n${body}"; + $self->{log}->info("sendmail to ${to}: ${subject}\n\n${body}"); return 1; } |