summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx')
-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;
}