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 | 8517315781b0a80768aa6ca80aa0952670068d7e (patch) | |
tree | c76a6ab597757fd64943a4b05cb4b53491cff526 /util/json.lua | |
parent | 86357fbcb75bfdb33c66aeff2e4e0689a842fe09 (diff) | |
download | prosody-8517315781b0a80768aa6ca80aa0952670068d7e.tar.gz prosody-8517315781b0a80768aa6ca80aa0952670068d7e.zip |
util.json: Make setmetatable local.
Diffstat (limited to 'util/json.lua')
-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"); |