reindent undef check
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@294 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
9d94f4d96a
commit
e8bf8286fc
@ -226,6 +226,7 @@ sub run_hooks {
|
||||
$self->log(LOGINFO, "running plugin ", $code->{name});
|
||||
eval { (@r) = $code->{code}->($self, $self->transaction, @_); };
|
||||
$@ and $self->log(LOGCRIT, "FATAL PLUGIN ERROR: ", $@) and next;
|
||||
|
||||
!defined $r[0]
|
||||
and $self->log(LOGERROR, "plugin ".$code->{name}
|
||||
."running the $hook hook returned undef!")
|
||||
|
Loading…
Reference in New Issue
Block a user