mirror of
https://github.com/kepler155c/opus
synced 2025-04-07 08:06:54 +00:00
Update json.lua
This commit is contained in:
parent
c247097e20
commit
9b502553e0
@ -39,7 +39,8 @@ if register_global_module_table then
|
||||
_G[global_module_name] = json
|
||||
end
|
||||
|
||||
local _ENV = nil -- blocking globals in Lua 5.2
|
||||
-- this was incompatible because we use fs later
|
||||
--local _ENV = nil -- blocking globals in Lua 5.2
|
||||
|
||||
pcall (function()
|
||||
-- Enable access to blocked metatables.
|
||||
|
Loading…
x
Reference in New Issue
Block a user