Don't run continuation if config
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@579 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
f5efe92bea
commit
dfe9dda454
@ -280,7 +280,7 @@ sub connection {
|
|||||||
|
|
||||||
sub run_hooks {
|
sub run_hooks {
|
||||||
my ($self, $hook) = (shift, shift);
|
my ($self, $hook) = (shift, shift);
|
||||||
if ($self->{_continuation} && $hook ne "logging") {
|
if ($self->{_continuation} && $hook ne "logging" && $hook ne "config") {
|
||||||
die "Continuations in progress from previous hook (this is the $hook hook)";
|
die "Continuations in progress from previous hook (this is the $hook hook)";
|
||||||
}
|
}
|
||||||
my $hooks = $self->{hooks};
|
my $hooks = $self->{hooks};
|
||||||
|
Loading…
Reference in New Issue
Block a user