Add InetContainer with scopes of containing and contained (#32802)
				
					
				
			This commit is contained in:
		@@ -16,6 +16,6 @@ module RegistrationHelper
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def ip_blocked?(remote_ip)
 | 
			
		||||
    IpBlock.where(severity: :sign_up_block).exists?(['ip >>= ?', remote_ip.to_s])
 | 
			
		||||
    IpBlock.where(severity: :sign_up_block).containing(remote_ip.to_s).exists?
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user