]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/opendiscussion.pm
I'm not redefining any subs after all, don't prevent those warnings.
[git.ikiwiki.info.git] / IkiWiki / Plugin / opendiscussion.pm
index 3da01efee154988d1432d0ed54680525569e224c..60b193eca04fb08702a99077aa911f66dbc33705 100644 (file)
@@ -23,7 +23,7 @@ sub canedit ($$) {
        my $cgi=shift;
        my $session=shift;
 
-       my $discussion=gettext("discussion");
+       my $discussion=lc(gettext("Discussion"));
        return "" if $page=~/(\/|^)\Q$discussion\E$/;
        return undef;
 }