aboutsummaryrefslogtreecommitdiffstats
path: root/util/sql.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-05-22 14:37:52 +0200
committerKim Alvefur <zash@zash.se>2016-05-22 14:37:52 +0200
commitef34d5516d2e5c9ee5453e49f59f3c2c72454942 (patch)
treee0496b32722e1b690b448b7a2d2770856546d4c4 /util/sql.lua
parent5a2ab12a7dca1686f92b7625f2ce400b5b178c56 (diff)
downloadprosody-ef34d5516d2e5c9ee5453e49f59f3c2c72454942.tar.gz
prosody-ef34d5516d2e5c9ee5453e49f59f3c2c72454942.zip
util.sql: Import type too (fix global access)
Diffstat (limited to 'util/sql.lua')
-rw-r--r--util/sql.lua1
1 files changed, 1 insertions, 0 deletions
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;