Committer: wisest-owl
LJSUP-12623: Setting Show CAPTCHA to nobody not working for anonymous usersU trunk/cgi-bin/LJ/Talk/Post.pm
Modified: trunk/cgi-bin/LJ/Talk/Post.pm =================================================================== --- trunk/cgi-bin/LJ/Talk/Post.pm 2012-07-03 12:58:12 UTC (rev 22378) +++ trunk/cgi-bin/LJ/Talk/Post.pm 2012-07-03 13:14:43 UTC (rev 22379) @@ -581,7 +581,7 @@ ## LJSUP-7832: If user is a member of "http://community.livejournal.com/notaspammers/" ## we shouldn't display captcha for him - + return if $commenter && LJ::is_friend($LJ::NOTASPAMMERS_COMM_UID, $commenter); return if $commenter && $commenter->prop('in_whitelist_for_spam'); @@ -674,6 +674,7 @@ # or if it's obviously spam return 1 if $body =~ /\s*message\s*/is; } + return 0; }