]> git.openstreetmap.org Git - rails.git/blobdiff - script/update-spam-blocks
Match the other sidebar better
[rails.git] / script / update-spam-blocks
index 3cb9dcedd696deedec465ef82ffbbe975380c21f..c21b17cff0ca0293bd3962fabc1f78a2714f6919 100755 (executable)
@@ -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