From 9cec183470aa37b624ce217da3ab74b71e946f4c Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Thu, 14 Sep 2017 14:09:16 +1000 Subject: [PATCH] made the sandboxing actually work, 100/100 clever. --- exec/luash.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/luash.lua b/exec/luash.lua index 0d58b1d..d8330c3 100644 --- a/exec/luash.lua +++ b/exec/luash.lua @@ -39,7 +39,7 @@ spawn("lua shell",function() if inp:sub(1,1) == "=" then inp="return "..inp:sub(2) end - local r={pcall(load(inp,_ENV))} + local r={pcall(load(inp,"shell","bt",_ENV))} if r[1] == true then table.remove(r,1) end