mirror of
https://github.com/lune-org/docs.git
synced 2025-04-03 18:10:54 +01:00
fix(module): sandbox escape with getmetatable
This commit is contained in:
parent
d5d9fc7d27
commit
eede130035
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ end
|
|||
local function constructProtectedMt<T>(library: T)
|
||||
return {
|
||||
__index = library,
|
||||
__metatable = "Locked",
|
||||
__tostring = function()
|
||||
return stdio.format(library)
|
||||
end,
|
||||
|
|
Loading…
Add table
Reference in a new issue