Fixed hook caching

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@818 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Matt Sergeant 2007-11-19 16:57:03 +00:00
parent 6a4b30e6f9
commit c837f5d611

View File

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