mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
BlackBoxWorker: only check deleted
This commit is contained in:
parent
9800a4ad4b
commit
0c1812e457
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class BlackBoxWorker
|
||||||
|
|
||||||
def perform(site_id, path)
|
def perform(site_id, path)
|
||||||
site = Site[site_id]
|
site = Site[site_id]
|
||||||
return true if site.nil? || site.is_banned? || site.is_deleted
|
return true if site.nil? || site.is_deleted
|
||||||
BlackBox.new(site, path).tos_violation_check!
|
BlackBox.new(site, path).tos_violation_check!
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue