summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/rename.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm
index 345cd7324..c0ccb25ce 100644
--- a/IkiWiki/Plugin/rename.pm
+++ b/IkiWiki/Plugin/rename.pm
@@ -48,7 +48,7 @@ sub check_canrename ($$$$$$$) { #{{{
}
# Must be a legal filename.
- if (file_pruned($destfile, $config{srcdir})) {
+ if (IkiWiki::file_pruned($destfile, $config{srcdir})) {
error(sprintf(gettext("illegal name")));
}