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",