diff --git a/client/sandbox.lua b/client/sandbox.lua index 7f1eecb..2544150 100644 --- a/client/sandbox.lua +++ b/client/sandbox.lua @@ -10,6 +10,7 @@ local dump = buildat.dump __buildat_sandbox_environment = { assert = assert, -- Safe according to http://lua-users.org/wiki/SandBoxes + error = error, -- Base sandbox from -- http://stackoverflow.com/questions/1224708/how-can-i-create-a-secure-lua-sandbox/6982080#6982080 ipairs = ipairs,