summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-28 13:04:45 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-28 13:04:45 -0400
commit2b602e2e9f06c79e969ae2e2fea64052edd82e6b (patch)
treee1fca2494b986b0515b627d6d3b829eb42ace266 /IkiWiki/Plugin
parentbe2f9421d5d3d4359b61ccbfbdaa7a7df58ed990 (diff)
filecheck: Fixed two bits broken in move from attachment.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/filecheck.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/filecheck.pm b/IkiWiki/Plugin/filecheck.pm
index 1855a8b48..9c7a8dbb7 100644
--- a/IkiWiki/Plugin/filecheck.pm
+++ b/IkiWiki/Plugin/filecheck.pm
@@ -69,7 +69,7 @@ package IkiWiki::PageSpec;
sub match_maxsize ($$;@) { #{{{
my $page=shift;
- my $maxsize=eval{IkiWiki::Plugin::attachment::parsesize(shift)};
+ my $maxsize=eval{IkiWiki::Plugin::filecheck::parsesize(shift)};
if ($@) {
return IkiWiki::FailReason->new("unable to parse maxsize (or number too large)");
}
@@ -90,7 +90,7 @@ sub match_maxsize ($$;@) { #{{{
sub match_minsize ($$;@) { #{{{
my $page=shift;
- my $minsize=eval{IkiWiki::Plugin::attachment::parsesize(shift)};
+ my $minsize=eval{IkiWiki::Plugin::filecheck::parsesize(shift)};
if ($@) {
return IkiWiki::FailReason->new("unable to parse minsize (or number too large)");
}