diff --git a/bin/mastodon-email-blocker.py b/bin/mastodon-email-blocker.py index 70733b0..a6e08f9 100755 --- a/bin/mastodon-email-blocker.py +++ b/bin/mastodon-email-blocker.py @@ -18,7 +18,7 @@ from pathlib import Path import dns.resolver -VERSION = "6.5" +VERSION = "6.6" SOURCES = [ "https://raw.githubusercontent.com/mehrtat/disposable-email-domain/main/domains.txt", @@ -429,7 +429,7 @@ User.pending.find_each(batch_size: 100) do |user| EmailDomainBlock.block?(user.email) blocked_username = - user.account.username.to_s.match?(/\\Ausr_/i) + user.account.username.to_s.match?(/\Ausr_/i) next unless blocked_email || blocked_username