X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..abb923382c8a1a78aee45ce9a0a5e78b167ded51:/script/update-spam-blocks diff --git a/script/update-spam-blocks b/script/update-spam-blocks index 40f2cb03c..7d6654545 100755 --- a/script/update-spam-blocks +++ b/script/update-spam-blocks @@ -6,9 +6,9 @@ require "generator" addresses = User.count( :conditions => { :status => %w[suspended deleted], - :creation_time => Time.now - 28.days..Time.now + :creation_time => Time.now.utc - 28.days..Time.now.utc }, - :group => :creation_ip + :group => :creation_address ) addresses.each do |address, count|