summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-07 12:55:34 -0400
committerJoey Hess <joey@kitenet.net>2010-05-07 12:55:34 -0400
commit8cd216d748961a18d373b8fea6e4346c0c372f6e (patch)
tree5d75bfeccaa0f35dde51132f2f3cc7aec8948108 /IkiWiki
parentdb5cee6cb6b14367a4e3aa39e0ab3a1a21d25a21 (diff)
fix match_comment
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/comments.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index 448ef02f7..0a808aaef 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -906,7 +906,7 @@ sub match_comment ($$;@) {
my $page = shift;
my $glob = shift;
- my $match=match_glob($page, "$glob/*", @_);
+ my $match=match_glob($page, "$glob/*", internal => 1, @_);
if ($match) {
my $type=IkiWiki::pagetype($IkiWiki::pagesources{$page});
if ($type ne "_comment") {
@@ -920,7 +920,7 @@ sub match_comment_pending ($$;@) {
my $page = shift;
my $glob = shift;
- my $match=match_glob($page, "$glob/*", @_);
+ my $match=match_glob($page, "$glob/*", internal => 1, @_);
if ($match) {
my $type=IkiWiki::pagetype($IkiWiki::pagesources{$page});
if ($type ne "_comment_pending") {