Module:Sensitive IP addresses/API: Difference between revisions

Content deleted Content added
add SensitiveEntity class; this is meant to be used for matching IPs and subnets with entity data
m fix bad variable name
Line 59:
if not isIP then
isSubnet, obj = pcall(Subnet.new, str)
if not isSubnet or not subnetobj then
error(string.format(
"'%s' is not a valid IP address or CIDR string",