about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/helpers/moderation_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/moderation_helper.rb b/app/helpers/moderation_helper.rb
index 10fa05109..b6fd7be53 100644
--- a/app/helpers/moderation_helper.rb
+++ b/app/helpers/moderation_helper.rb
@@ -87,7 +87,7 @@ module ModerationHelper
     end
 
     if policy.in? %w(silence suspend force_unlisted)
-      return false unless domain_exists(domain)
+      return false unless domain_exists?(domain)
 
       domain_block = DomainBlock.find_or_create_by(domain: domain)
       domain_block.severity = policy