diff options
author | Kim Alvefur <zash@zash.se> | 2016-05-22 14:37:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-05-22 14:37:52 +0200 |
commit | ef34d5516d2e5c9ee5453e49f59f3c2c72454942 (patch) | |
tree | e0496b32722e1b690b448b7a2d2770856546d4c4 | |
parent | 5a2ab12a7dca1686f92b7625f2ce400b5b178c56 (diff) | |
download | prosody-ef34d5516d2e5c9ee5453e49f59f3c2c72454942.tar.gz prosody-ef34d5516d2e5c9ee5453e49f59f3c2c72454942.zip |
util.sql: Import type too (fix global access)
-rw-r--r-- | util/sql.lua | 1 |
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; |