From 6f5a68b7f7c664c547017d9bc59dc3b098cca02d Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Sun, 18 Sep 2022 11:32:18 -0400 Subject: [PATCH] Allow getmetatable in CSM (#12776) --- src/script/cpp_api/s_security.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",