From 39f2e6f8d504c6e132f3120b63a4132489a7cc12 Mon Sep 17 00:00:00 2001 From: Nicholas Leonard Date: Wed, 14 Oct 2015 15:07:59 -0400 Subject: [PATCH] make it work with lua 5.2 --- dkjson.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/dkjson.lua b/dkjson.lua index f9e50b5..4ac4a13 100644 --- a/dkjson.lua +++ b/dkjson.lua @@ -58,8 +58,6 @@ if register_global_module_table then _G[global_module_name] = json end -local _ENV = nil -- blocking globals in Lua 5.2 - pcall (function() -- Enable access to blocked metatables. -- Don't worry, this module doesn't change anything in them.