X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5b2d2ff2f0482c56b6e8541bab6de84a940b0a82..c4f3d1bd32315abdcf057cae586bbf76eb6263b9:/script/update-spam-blocks?ds=sidebyside diff --git a/script/update-spam-blocks b/script/update-spam-blocks index 8476fcb9d..c21b17cff 100755 --- a/script/update-spam-blocks +++ b/script/update-spam-blocks @@ -18,12 +18,11 @@ addresses.each do |address,count| }) unless acl - Acl.create( + Acl.create({ :address => address, - :netmask => "255.255.255.255", :k => "no_account_creation", :v => "auto_spam_block" - ) + }, :without_protection => true) puts "Blocked #{address}" end