From 08c2f080efd31b973d6d7c3ded42fdb19c086cb5 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 27 Mar 2013 19:06:06 -0400 Subject: [PATCH] random_error: fixed typo, added std pragmas --- plugins/random_error | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/random_error b/plugins/random_error index 3faf890..780ee06 100644 --- a/plugins/random_error +++ b/plugins/random_error @@ -1,4 +1,10 @@ #!perl -w + +use strict; +use warnings; + +use Qpsmtpd::Constants; + =head1 NAME random_error @@ -12,7 +18,7 @@ This plugin randomly disconnects and issues DENYSOFTs. one parameter is allowed, which is how often to error, as a percentage of messages. The default is 1. Use a negative number to disable. -2/5 of failures are DENYSOFT_DISOCNNECT, 3/5 simply DENYSOFT. +2/5 of failures are DENYSOFT_DISCONNECT, 3/5 simply DENYSOFT. For use with other plugins, scribble the revised failure rate to