X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f1316fa58e5cec92888cd83c16e4a4df0a1cdc2a..6ee672fe9500d854b66121879df8f65cfbbdf499:/script/update-spam-blocks diff --git a/script/update-spam-blocks b/script/update-spam-blocks index 381ef3c1a..3cb9dcedd 100755 --- a/script/update-spam-blocks +++ b/script/update-spam-blocks @@ -12,7 +12,7 @@ addresses = User.count( ) addresses.each do |address,count| - if count > 2 + if count > 1 acl = Acl.find(:first, :conditions => { :address => address, }) @@ -20,7 +20,6 @@ addresses.each do |address,count| unless acl Acl.create( :address => address, - :netmask => "255.255.255.255", :k => "no_account_creation", :v => "auto_spam_block" )