summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/opendiscussion.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/opendiscussion.pm')
-rw-r--r--IkiWiki/Plugin/opendiscussion.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/opendiscussion.pm b/IkiWiki/Plugin/opendiscussion.pm
index 1bec4b013..4517ff88b 100644
--- a/IkiWiki/Plugin/opendiscussion.pm
+++ b/IkiWiki/Plugin/opendiscussion.pm
@@ -23,7 +23,7 @@ sub canedit ($$) {
my $cgi=shift;
my $session=shift;
- return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/;
+ return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/i;
return undef;
}