From 72db65891f8f7119d03a36ab5c05f686e5da5ec3 Mon Sep 17 00:00:00 2001 From: nuoun <10226424+nuoun@users.noreply.github.com> Date: Sat, 3 Aug 2024 20:12:28 +0200 Subject: [PATCH] Rename table "global" -> "shared" --- src/common/LuaSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/LuaSupport.cpp b/src/common/LuaSupport.cpp index 80e55231bc6..c6c1fdaf62e 100644 --- a/src/common/LuaSupport.cpp +++ b/src/common/LuaSupport.cpp @@ -129,7 +129,7 @@ bool Surge::LuaSupport::setSurgeFunctionEnvironment(lua_State *L) // stack is now func > table // List of whitelisted functions and modules - std::vector sandboxWhitelist = {"ipairs", "error", "math", "surge", "global"}; + std::vector sandboxWhitelist = {"ipairs", "error", "math", "surge", "shared"}; /* std::vector sandboxWhitelist = {"pairs", "ipairs", "next", "print", "error", "math", "string", "table",