diff --git a/app/services/spam_rules_enforcer.rb b/app/services/spam_rules_enforcer.rb index ecfc2a1f6e0..7a5133c1a67 100644 --- a/app/services/spam_rules_enforcer.rb +++ b/app/services/spam_rules_enforcer.rb @@ -12,8 +12,10 @@ class SpamRulesEnforcer end def enforce! - SpamRule::AutoSilence.new(@user).perform if @user - SpamRule::FlagSockpuppets.new(@post).perform if @post + I18n.with_locale(SiteSetting.default_locale) do + SpamRule::AutoSilence.new(@user).perform if @user + SpamRule::FlagSockpuppets.new(@post).perform if @post + end true end