aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstefan <stefan@temp>2022-05-25 11:46:12 +0200
committersfan5 <sfan5@live.de>2022-05-29 14:00:19 +0200
commitbb671c308930dc4cb8d67e8eed3664a23499bd95 (patch)
treedd664a822a7925a3c26c925f8a7e862346c27dde /src
parent1b68fb768306ad591057b0941bc31460034a4976 (diff)
downloadminetest-bb671c308930dc4cb8d67e8eed3664a23499bd95.tar.gz
minetest-bb671c308930dc4cb8d67e8eed3664a23499bd95.tar.bz2
minetest-bb671c308930dc4cb8d67e8eed3664a23499bd95.zip
Remove debug.get/setmetatable from security whitelist
fixes #12216
Diffstat (limited to 'src')
-rw-r--r--src/script/cpp_api/s_security.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/script/cpp_api/s_security.cpp b/src/script/cpp_api/s_security.cpp
index f68cd1777..88e22f16f 100644
--- a/src/script/cpp_api/s_security.cpp
+++ b/src/script/cpp_api/s_security.cpp
@@ -128,8 +128,6 @@ void ScriptApiSecurity::initializeSecurity()
"gethook",
"traceback",
"getinfo",
- "getmetatable",
- "setmetatable",
"upvalueid",
"sethook",
"debug",