Fixed hook caching
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@818 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
6a4b30e6f9
commit
c837f5d611
@ -266,7 +266,7 @@ sub load_plugins {
|
|||||||
my @plugins = $self->config('plugins');
|
my @plugins = $self->config('plugins');
|
||||||
my @loaded;
|
my @loaded;
|
||||||
|
|
||||||
if (keys %$hooks) {
|
if ($hooks->{queue}) {
|
||||||
$self->log(LOGWARN, "Plugins already loaded");
|
$self->log(LOGWARN, "Plugins already loaded");
|
||||||
return @plugins;
|
return @plugins;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user