ensure opendiscussion hook is always called before lockedit

This was only ordered ok due to luck before.
master
Joey Hess 2010-02-06 16:12:29 -05:00
parent eda1d1321b
commit e33a65719a
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ use IkiWiki 3.00;
sub import {
hook(type => "getsetup", id => "opendiscussion", call => \&getsetup);
hook(type => "canedit", id => "opendiscussion", call => \&canedit);
hook(type => "canedit", id => "opendiscussion", call => \&canedit,
first => 1);
}
sub getsetup () {