diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-08-28 13:04:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-08-28 13:04:45 -0400 |
commit | 2b602e2e9f06c79e969ae2e2fea64052edd82e6b (patch) | |
tree | e1fca2494b986b0515b627d6d3b829eb42ace266 /IkiWiki/Plugin | |
parent | be2f9421d5d3d4359b61ccbfbdaa7a7df58ed990 (diff) |
filecheck: Fixed two bits broken in move from attachment.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/filecheck.pm | 4 |
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)"); } |