aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorJude Melton-Houghton <jwmhjwmh@gmail.com>2022-09-18 11:32:18 -0400
committerGitHub <noreply@github.com>2022-09-18 17:32:18 +0200
commit6f5a68b7f7c664c547017d9bc59dc3b098cca02d (patch)
tree60c844d8de94ff39cdbb5d0150d189b0697cd780 /src/script
parentc9ed059d9170f2f7f662cbb59e6009fd54c8ed3f (diff)
downloadminetest-6f5a68b7f7c664c547017d9bc59dc3b098cca02d.tar.xz
Allow getmetatable in CSM (#12776)
Diffstat (limited to 'src/script')
-rw-r--r--src/script/cpp_api/s_security.cpp2
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",