Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add news item for ikiwiki 3.20101129
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
opendiscussion.pm
diff --git
a/IkiWiki/Plugin/opendiscussion.pm
b/IkiWiki/Plugin/opendiscussion.pm
index 4b91f5d8314e440920672759d0bc7c2cc394fda0..2805f60efdb6d415a19aeb17195df8ff2543487b 100644
(file)
--- a/
IkiWiki/Plugin/opendiscussion.pm
+++ b/
IkiWiki/Plugin/opendiscussion.pm
@@
-16,6
+16,7
@@
sub getsetup () {
plugin => {
safe => 1,
rebuild => 0,
plugin => {
safe => 1,
rebuild => 0,
+ section => "auth",
},
}
},
}
@@
-25,6
+26,7
@@
sub canedit ($$) {
my $session=shift;
return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/i;
my $session=shift;
return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/i;
+ return "" if pagespec_match($page, "postcomment(*)");
return undef;
}
return undef;
}