Allow limited access to unsafepairs/unsafenext
This commit is contained in:
@@ -36,7 +36,7 @@ inspect.KEY = {}
|
||||
inspect.METATABLE = {}
|
||||
|
||||
local function rawpairs(t)
|
||||
return next, t, nil
|
||||
return table.unsafepairs(t)
|
||||
end
|
||||
|
||||
-- Apostrophizes the string if it has quotes, but not aphostrophes
|
||||
|
||||
Reference in New Issue
Block a user