Module:IP: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
prevent outside code from altering the uniqueKey table's metatable
(add input validation for overlapsSubnet)
(prevent outside code from altering the uniqueKey table's metatable)
Line 488:
-- uniqueKey is a unique, private key used to test whether a given object
-- is a Subnet object.
local uniqueKey = setmetatable({}, {__metatable = false})
 
-- Metatable
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu