diff options
| author | David Leadbeater | 2015-01-10 17:00:55 +0000 |
|---|---|---|
| committer | David Leadbeater | 2015-01-10 17:00:55 +0000 |
| commit | 6fa0cda4b3f7d54d5835fe580795e4f35980cc28 (patch) | |
| tree | 5f38704d7c9babab81a9c2b895efa2cbe968f178 /scripts/awayproxy.pl | |
| parent | cbbdf2a1d93dbb64d3fb34346e9c57b14dfa2931 (diff) | |
| parent | d2b44a7bb135579368f93e7d4824480c000eaa64 (diff) | |
| download | scripts.irssi.org-6fa0cda4b3f7d54d5835fe580795e4f35980cc28.tar.bz2 | |
Merge pull request #78 from obfuscoder/perlcritic-a
Fix perlcritic issues for all scripts starting with a
Diffstat (limited to 'scripts/awayproxy.pl')
| -rw-r--r-- | scripts/awayproxy.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/awayproxy.pl b/scripts/awayproxy.pl index 422a6ad..628e0f4 100644 --- a/scripts/awayproxy.pl +++ b/scripts/awayproxy.pl @@ -147,7 +147,7 @@ sub msgsend_check { # {{{ sub send_mail { # {{{ my $text = shift; debug("Sending mail"); - open MAIL, "|" . $config{sendmail} . " -t"; + open MAIL, q{|-}, $config{sendmail} . " -t"; print MAIL "To: $config{emailto}\n"; print MAIL "From: $config{emailfrom}\n"; print MAIL "Subject: $config{emailsubject}\n"; |
