X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e660e609661edadc1ed5ad49d6e83e936b2f91cd..b76bfe379e6527c9cfc2ced97aa615f8c2c45dd7:/script/update-spam-blocks?ds=sidebyside diff --git a/script/update-spam-blocks b/script/update-spam-blocks index 3cb9dcedd..c21b17cff 100755 --- a/script/update-spam-blocks +++ b/script/update-spam-blocks @@ -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