summaryrefslogtreecommitdiff
path: root/lib/Apache/Config/Preproc/ifmodule.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Apache/Config/Preproc/ifmodule.pm')
-rw-r--r--lib/Apache/Config/Preproc/ifmodule.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Apache/Config/Preproc/ifmodule.pm b/lib/Apache/Config/Preproc/ifmodule.pm
index 5ec925a..bbfd943 100644
--- a/lib/Apache/Config/Preproc/ifmodule.pm
+++ b/lib/Apache/Config/Preproc/ifmodule.pm
@@ -179,6 +179,9 @@ my %modlist = (
sub module_loaded {
my ($self, $id) = @_;
+ if (exists($modlist{$id})) {
+ $id = $modlist{$id};
+ }
return 1 if $self->preloaded($id);
return grep {
(split /\s+/, $_->value)[0] eq $id

Return to:

Send suggestions and report system problems to the System administrator.