bogus_bounce: suppress undefined var error

This commit is contained in:
Matt Simerson 2013-03-27 19:26:21 -04:00
parent 21db884d8e
commit eae10519ee

View File

@ -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';
}
}