"you're not allowed to get this metatable" they said

pull/3/head
Björn Linse 3 years ago
parent f82a74b153
commit 862acd3643

@ -30,7 +30,7 @@ local function complete()
insertify(obj)
end
local index = (getmetatable(obj) or {}).__index
local index = (debug.getmetatable(obj) or {}).__index
if type(index) == 'table' then
insertify(index)
end

Loading…
Cancel
Save