From c5238026a91ac7910d92d9f8506a7f22d31f3661 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 30 Jul 2014 14:17:48 +1000 Subject: [PATCH] fix logic --- lib/post_creator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/post_creator.rb b/lib/post_creator.rb index 6842d92c3..aaf627d13 100644 --- a/lib/post_creator.rb +++ b/lib/post_creator.rb @@ -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