From 226a197335366658accdef2e07a3b4b2afc080fc Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 30 Jul 2014 14:24:20 +1000 Subject: [PATCH] fix logic take2 --- 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 aaf627d13f..189f561e7d 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 && @spam + if @post || @spam handle_spam unless @opts[:import_mode] end