Update spam block script for mass assignment protection changes
This commit is contained in:
parent
4327daaabf
commit
b135fff9b0
1 changed files with 2 additions and 2 deletions
|
@ -18,11 +18,11 @@ addresses.each do |address,count|
|
|||
})
|
||||
|
||||
unless acl
|
||||
Acl.create(
|
||||
Acl.create({
|
||||
:address => address,
|
||||
:k => "no_account_creation",
|
||||
:v => "auto_spam_block"
|
||||
)
|
||||
}, :without_protection => true)
|
||||
|
||||
puts "Blocked #{address}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue