fix logic

This commit is contained in:
Sam
2014-07-30 14:18:01 +10:00
parent 9147af1d62
commit c5238026a9
+1 -1
View File
@@ -81,7 +81,7 @@ class PostCreator
BadgeGranter.queue_badge_grant(Badge::Trigger::PostRevision, post: @post)
end
if @post && (@post.errors.present? || @spam)
if @post && @spam
handle_spam unless @opts[:import_mode]
end