From 8bab19a09f017239ad79aa5ff0a949f2203bd43e Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 6 May 2013 19:43:59 -0400 Subject: [PATCH] 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"); -- 2.30.2