From 5b2d2ff2f0482c56b6e8541bab6de84a940b0a82 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 8 Feb 2012 16:08:45 +0000 Subject: [PATCH] Block any address with more than one suspended user --- script/update-spam-blocks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/update-spam-blocks b/script/update-spam-blocks index 381ef3c1a..8476fcb9d 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, }) -- 2.39.5