mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
manual review for supporter violations
This commit is contained in:
parent
985a21d347
commit
e61de5b0d6
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ class BanWorker
|
||||||
sidekiq_options queue: :ban, retry: 10, backtrace: true
|
sidekiq_options queue: :ban, retry: 10, backtrace: true
|
||||||
|
|
||||||
def perform(site_id)
|
def perform(site_id)
|
||||||
Site[site_id].ban!
|
site = Site[site_id]
|
||||||
|
site.ban! unless site.supporter?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue