Committer: tnurutdinov
LJSUP-14805: Turn on spamprotection by defaultU trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm =================================================================== --- trunk/cgi-bin/LJ/User.pm 2013-01-15 13:36:54 UTC (rev 23545) +++ trunk/cgi-bin/LJ/User.pm 2013-01-16 07:36:49 UTC (rev 23546) @@ -6576,8 +6576,8 @@ my $u = shift; return 0 if $LJ::DISABLED{'spam_button'}; my $spamprotection = $u->prop('spamprotection'); - return 1 if (!defined($spamprotection) || $spamprotection eq 'Y'); - return 0; + return 0 if $spamprotection eq 'N'; + return 1; } sub check_non_whitelist_enabled {