wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r22379: LJSUP-12623: Setting Show CAPTCHA to nob...

Committer: wisest-owl
LJSUP-12623: Setting Show CAPTCHA to nobody not working for anonymous users

U   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;
 }
 
 

Tags: livejournal, pm, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments