From 65f216c44543f9691fdf6a0ac359750c83a56e2d Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sat, 23 Jun 2012 00:47:46 -0400 Subject: [PATCH] parse_addr_withhelo: consistency additions --- plugins/parse_addr_withhelo | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/parse_addr_withhelo b/plugins/parse_addr_withhelo index 49c8a0f..2d70e7b 100644 --- a/plugins/parse_addr_withhelo +++ b/plugins/parse_addr_withhelo @@ -17,6 +17,11 @@ parameters is done. =cut +use strict; +use warnings; + +use Qpsmtpd::Constants; + sub hook_mail_parse { my $self = shift; return (OK, \&_parse) if ($self->qp->connection->hello eq 'helo');