mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.json: Make setmetatable local.
This commit is contained in:
parent
eed78bab7e
commit
39229adf0b
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue