From 8d720b7bfbdfa3d911bf609d3064e200e970d1a2 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 22 May 2016 14:37:52 +0200 Subject: util.sql: Import type too (fix global access) --- util/sql.lua | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3