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
commit8517315781b0a80768aa6ca80aa0952670068d7e (patch)
treec76a6ab597757fd64943a4b05cb4b53491cff526 /util/json.lua
parent86357fbcb75bfdb33c66aeff2e4e0689a842fe09 (diff)
downloadprosody-8517315781b0a80768aa6ca80aa0952670068d7e.tar.gz
prosody-8517315781b0a80768aa6ca80aa0952670068d7e.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");