summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-17 07:07:05 -0400
committerDaniel Friesel <derf@finalrewind.org>2019-04-17 07:07:05 -0400
commitd9b82a4133ad2be1377c29ea24f37b8cc58ff6f5 (patch)
treee40d9151aef2cb945ccde60bd548d4183e05c406 /lib/Travelynx/Helper
parent1150021d2e80f08096620c9f294b2401aeb40aa2 (diff)
Sendmail: Actually print info log messages as documented
Diffstat (limited to 'lib/Travelynx/Helper')
-rw-r--r--lib/Travelynx/Helper/Sendmail.pm2
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;
}