diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-02-06 16:19:17 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-02-06 16:19:17 -0500 |
commit | b384af237df92e787f84f845d0d2bc182f7775ff (patch) | |
tree | aba9caff584e7b5a87d63c8483ab01f36c88bc8d /IkiWiki | |
parent | e33a65719a58a65201c1c742f544f5cab38ad23c (diff) | |
download | ikiwiki-b384af237df92e787f84f845d0d2bc182f7775ff.tar ikiwiki-b384af237df92e787f84f845d0d2bc182f7775ff.tar.gz |
opendiscussion: This plugin will also now allow posting comments
to otherwise locked-down sites.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/opendiscussion.pm | 1 |
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; } |