From: Kim Alvefur Date: Sun, 22 May 2016 12:37:52 +0000 (+0200) Subject: util.sql: Import type too (fix global access) X-Git-Url: https://git.enpas.org/?p=prosody.git;a=commitdiff_plain;h=1b9dccb14dec7b8b4eab129d35f403bd09c8ec35 util.sql: Import type too (fix global access) --- diff --git a/util/sql.lua b/util/sql.lua index 843e7dda..6fed1373 100644 --- a/util/sql.lua +++ b/util/sql.lua @@ -2,6 +2,7 @@ local setmetatable, getmetatable = setmetatable, getmetatable; local ipairs, unpack, select = ipairs, table.unpack or unpack, select; --luacheck: ignore 113 local tonumber, tostring = tonumber, tostring; +local type = type; local assert, pcall, xpcall, debug_traceback = assert, pcall, xpcall, debug.traceback; local t_concat = table.concat; local s_char = string.char;