]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Remove debug.get/setmetatable from security whitelist
authorstefan <stefan@temp>
Wed, 25 May 2022 09:46:12 +0000 (11:46 +0200)
committersfan5 <sfan5@live.de>
Sun, 29 May 2022 12:00:19 +0000 (14:00 +0200)
fixes #12216

src/script/cpp_api/s_security.cpp

index f68cd17771690ff7459c5dbb937ae915e5992dfc..88e22f16f1781273a09d35e765c8fd8c034358e5 100644 (file)
@@ -128,8 +128,6 @@ void ScriptApiSecurity::initializeSecurity()
                "gethook",
                "traceback",
                "getinfo",
-               "getmetatable",
-               "setmetatable",
                "upvalueid",
                "sethook",
                "debug",