From eae10519ee167d6127207afe282a31318b47f386 Mon Sep 17 00:00:00 2001
From: Matt Simerson <matt@tnpi.net>
Date: Wed, 27 Mar 2013 19:26:21 -0400
Subject: [PATCH] bogus_bounce: suppress undefined var error

---
 plugins/bogus_bounce | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/bogus_bounce b/plugins/bogus_bounce
index 79863a0..a05a5a2 100644
--- a/plugins/bogus_bounce
+++ b/plugins/bogus_bounce
@@ -56,7 +56,7 @@ sub register {
     };
 
     # we only need to check for deferral, default is DENY
-    if ( $self->{_args}{action} =~ /soft/i ) {
+    if ( $self->{_args}{action} && $self->{_args}{action} =~ /soft/i ) {
         $self->{_args}{reject_type} = 'temp';
     }
 }