diff options
author | Jude Melton-Houghton <jwmhjwmh@gmail.com> | 2022-09-18 11:32:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-18 17:32:18 +0200 |
commit | 6f5a68b7f7c664c547017d9bc59dc3b098cca02d (patch) | |
tree | 60c844d8de94ff39cdbb5d0150d189b0697cd780 /src/script/cpp_api | |
parent | c9ed059d9170f2f7f662cbb59e6009fd54c8ed3f (diff) | |
download | minetest-6f5a68b7f7c664c547017d9bc59dc3b098cca02d.tar.xz |
Allow getmetatable in CSM (#12776)
Diffstat (limited to 'src/script/cpp_api')
-rw-r--r-- | src/script/cpp_api/s_security.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/cpp_api/s_security.cpp b/src/script/cpp_api/s_security.cpp index 316b19926..d34e15f4e 100644 --- a/src/script/cpp_api/s_security.cpp +++ b/src/script/cpp_api/s_security.cpp @@ -292,7 +292,7 @@ void ScriptApiSecurity::initializeSecurityClient() "rawset", "select", "setfenv", - // getmetatable can be used to escape the sandbox <- ??? + "getmetatable", "setmetatable", "tonumber", "tostring", |