client/sandbox.lua: Whitelist error()
This commit is contained in:
parent
e99f96b334
commit
1291d08c32
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user