LJ::Talk::Post::require_captcha_test

LJ::Talk::Post::require_captcha_test — returns true if user must answer CAPTCHA (human test) before posting a comment

Use

LJ::Talk::Post::require_captcha_test(commenter, journal, body, ditemid);

Arguments

  • commenter. User object of author of comment, undef for anonymous commenter

  • journal. User object of journal where to post comment

  • body. Text of the comment (may be checked for spam, may be empty)

  • ditemid. identifier of post, need for checking reply-count

Source:

cgi-bin/LJ/Talk/Post.pm