diff options
author | Waqas Hussain <waqas20@gmail.com> | 2013-05-06 19:43:59 -0400 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2013-05-06 19:43:59 -0400 |
commit | 39229adf0ba6bb28743729c952fbb5657a51aff3 (patch) | |
tree | c76a6ab597757fd64943a4b05cb4b53491cff526 /util | |
parent | eed78bab7e19005ff89e34d46960cf25e9ac8e4a (diff) | |
download | prosody-39229adf0ba6bb28743729c952fbb5657a51aff3.tar.gz prosody-39229adf0ba6bb28743729c952fbb5657a51aff3.zip |
util.json: Make setmetatable local.
Diffstat (limited to 'util')
-rw-r--r-- | util/json.lua | 2 |
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"); |