1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Allow getmetatable in CSM (#12776)

This commit is contained in:
Jude Melton-Houghton
2022-09-18 11:32:18 -04:00
committed by GitHub
parent c9ed059d91
commit 6f5a68b7f7

View File

@@ -292,7 +292,7 @@ void ScriptApiSecurity::initializeSecurityClient()
"rawset",
"select",
"setfenv",
// getmetatable can be used to escape the sandbox <- ???
"getmetatable",
"setmetatable",
"tonumber",
"tostring",