Software /
code /
prosody
Changeset
7431:0d991d5659f0
util.sql: Import type too (fix global access)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 May 2016 14:37:52 +0200 |
parents | 7428:f791651ee334 |
children | 7432:92f721226753 |
files | util/sql.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/sql.lua Sun May 22 02:16:11 2016 +0100 +++ b/util/sql.lua Sun May 22 14:37:52 2016 +0200 @@ -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;