Fixed defaults bug (freeside)

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@166 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Matt Sergeant 2003-07-24 12:43:46 +00:00
parent f7790c75fd
commit bae4a84b99

View File

@ -38,7 +38,7 @@ sub config {
if (wantarray) {
@config = $self->get_qmail_config($c, $type) unless @config;
@config = @{$defaults{$c}} if (!@config and $defaults{$c});
@config = $defaults{$c} if (!@config and $defaults{$c});
return @config;
}
else {