From: Tom Hughes Date: Wed, 8 Feb 2012 16:07:59 +0000 (+0000) Subject: Update for removal of netmask from ACLs X-Git-Tag: live~5891 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f1316fa58e5cec92888cd83c16e4a4df0a1cdc2a Update for removal of netmask from ACLs --- diff --git a/script/update-spam-blocks b/script/update-spam-blocks index 903fc9b8a..381ef3c1a 100755 --- a/script/update-spam-blocks +++ b/script/update-spam-blocks @@ -15,7 +15,6 @@ addresses.each do |address,count| if count > 2 acl = Acl.find(:first, :conditions => { :address => address, - :netmask => "255.255.255.255" }) unless acl @@ -32,7 +31,6 @@ addresses.each do |address,count| end acls = Acl.find(:all, :conditions => { - :netmask => "255.255.255.255", :k => "no_account_creation", :v => "auto_spam_block" })