aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commit8d720b7bfbdfa3d911bf609d3064e200e970d1a2 (patch)
treee0496b32722e1b690b448b7a2d2770856546d4c4 /util
parent8a32b7f2c3787e5fa3c235bc5681930f7873f508 (diff)
downloadprosody-8d720b7bfbdfa3d911bf609d3064e200e970d1a2.tar.gz
prosody-8d720b7bfbdfa3d911bf609d3064e200e970d1a2.zip
util.sql: Import type too (fix global access)
Diffstat (limited to 'util')
-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;