about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-01-26 14:01:30 +0100
committerClaire <claire.github-309c@sitedethib.com>2021-01-26 14:01:30 +0100
commitb81710c02c9d8f27d417aa11b288a5b4e32bd5d5 (patch)
tree2f5ba10c2eb3c667dab2dfdb77c3d1724677ce87 /lib
parentd1255ab8a5101bc04af4a5214f975edf443a37d9 (diff)
parent7f1c56954b46b26b4dadfa92047f1ee5d7f9ad0a (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts:
- `CONTRIBUTING.md`:
  Not a real conflict, glitch-soc quotes the upstream file, which has been
  changed. Update the quote.
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/domains_cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/domains_cli.rb b/lib/mastodon/domains_cli.rb
index 3c2dfd4ec..4ebd8a1e2 100644
--- a/lib/mastodon/domains_cli.rb
+++ b/lib/mastodon/domains_cli.rb
@@ -93,7 +93,7 @@ module Mastodon
 
       work_unit = ->(domain) do
         next if stats.key?(domain)
-        next if options[:exclude_suspended] && domain.match(blocked_domains)
+        next if options[:exclude_suspended] && domain.match?(blocked_domains)
 
         stats[domain] = nil