Software /
code /
prosody
Diff
util/json.lua @ 5563:678867c552d1
util.json: Make setmetatable local.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 06 May 2013 19:43:59 -0400 |
parent | 5562:a6b8fb827e2a |
child | 5565:6dd806829226 |
line wrap: on
line diff
--- a/util/json.lua Mon May 06 19:42:54 2013 -0400 +++ b/util/json.lua Mon May 06 19:43:59 2013 -0400 @@ -13,7 +13,7 @@ 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");