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 | 4687bfd21474f94f951e11af67c8610dfd10fb26 (patch) | |
tree | c76a6ab597757fd64943a4b05cb4b53491cff526 /util/json.lua | |
parent | 5d0847b19a2e0449cdcf88a726ae0dd98a6676fd (diff) | |
download | prosody-4687bfd21474f94f951e11af67c8610dfd10fb26.tar.gz prosody-4687bfd21474f94f951e11af67c8610dfd10fb26.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"); |