From 4687bfd21474f94f951e11af67c8610dfd10fb26 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 6 May 2013 19:43:59 -0400 Subject: util.json: Make setmetatable local. --- util/json.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/json.lua b/util/json.lua index 67276765..0ce315b2 100644 --- a/util/json.lua +++ b/util/json.lua @@ -13,7 +13,7 @@ local tostring, tonumber = tostring, tonumber; local pairs, ipairs = pairs, ipairs; local next = next; local error = error; -local newproxy, getmetatable = newproxy, getmetatable; +local newproxy, getmetatable, setmetatable = newproxy, getmetatable, setmetatable; local print = print; local has_array, array = pcall(require, "util.array"); -- cgit v1.2.3