Fix anon posting, make 'pseudo-captcha' more fun and slightly harder.

This commit is contained in:
Uriel 2009-10-20 02:28:10 +02:00
parent e46992a0d0
commit 253ef222fc
2 changed files with 7 additions and 5 deletions

View file

@ -20,7 +20,7 @@ fn bridge_init {
if(~ $REQUEST_METHOD GET && test -d $comments_dir)
ll_add handlers_body_foot template apps/bridge/comments_list.tpl
if(check_user $groups_allowed_comments || {~ $#logged_user 0 && ! ~ $#allow_new_user_comments 0}) {
if(check_user $groups_allowed_comments || {~ $#logged_user 0 && ~ 1 $#allow_new_user_comments $#bridge_anon_comments}) {
if(~ $#post_arg_bridge_post 1) {
ll_add handlers_body_foot template apps/bridge/foot.tpl