summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/aggregate.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm
index bdbcd536f..f353cb0ca 100644
--- a/IkiWiki/Plugin/aggregate.pm
+++ b/IkiWiki/Plugin/aggregate.pm
@@ -31,7 +31,7 @@ sub getopt () { #{{{
} #}}}
sub checkconfig () { #{{{
- my $nolock=($config{post_commit} && ! commit_hook_enabled());
+ my $nolock=($config{post_commit} && ! IkiWiki::commit_hook_enabled());
IkiWiki::lockwiki() unless $nolock;
loadstate();
if ($config{aggregate} && ! $nolock) {