includes/comment.php
changeset 1223 7dca925b0209
parent 1216 4125e19d3b27
child 1227 bdac73ed481e
--- a/includes/comment.php	Wed Mar 17 14:21:46 2010 -0400
+++ b/includes/comment.php	Sat Mar 20 16:05:38 2010 -0400
@@ -340,7 +340,7 @@
           $sql_text = $db->escape($text);
           $text = RenderMan::render($text);
           $appr = ( getConfig('approve_comments', '0') == '1' ) ? COMMENT_UNAPPROVED : COMMENT_APPROVED;
-          if ( $appr === COMMENT_APPROVED && $spam_policy === 'moderate' && !$spamcheck )
+          if ( $spam_policy === 'moderate' && !$spamcheck )
             $appr = COMMENT_SPAM;
           $time = time();
           $date = enano_date(ED_DATE | ED_TIME, $time);