aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/opendiscussion.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/opendiscussion.pm')
-rw-r--r--IkiWiki/Plugin/opendiscussion.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/opendiscussion.pm b/IkiWiki/Plugin/opendiscussion.pm
index 4b91f5d83..5a455940b 100644
--- a/IkiWiki/Plugin/opendiscussion.pm
+++ b/IkiWiki/Plugin/opendiscussion.pm
@@ -25,6 +25,7 @@ sub canedit ($$) {
my $session=shift;
return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/i;
+ return "" if pagespec_match($page, "postcomment(*)");
return undef;
}