aboutsummaryrefslogtreecommitdiffstats
path: root/util/json.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2013-05-06 19:43:59 -0400
committerWaqas Hussain <waqas20@gmail.com>2013-05-06 19:43:59 -0400
commit39229adf0ba6bb28743729c952fbb5657a51aff3 (patch)
treec76a6ab597757fd64943a4b05cb4b53491cff526 /util/json.lua
parenteed78bab7e19005ff89e34d46960cf25e9ac8e4a (diff)
downloadprosody-39229adf0ba6bb28743729c952fbb5657a51aff3.tar.gz
prosody-39229adf0ba6bb28743729c952fbb5657a51aff3.zip
util.json: Make setmetatable local.
Diffstat (limited to 'util/json.lua')
-rw-r--r--util/json.lua2
1 files changed, 1 insertions, 1 deletions
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");