aboutsummaryrefslogtreecommitdiffstats
path: root/util/sql.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-22 18:46:59 +0100
committerKim Alvefur <zash@zash.se>2016-02-22 18:46:59 +0100
commit349f3e7a755249a16acf5417f9bea95c0df77513 (patch)
tree15d7151c2609ac821e0dd08e27f67795300b090d /util/sql.lua
parent82a913c6816be2b0503368afac85b8b20335db0e (diff)
parent6ee4f6f618ee4a07f3b25f38c7da675d68fdceee (diff)
downloadprosody-349f3e7a755249a16acf5417f9bea95c0df77513.tar.gz
prosody-349f3e7a755249a16acf5417f9bea95c0df77513.zip
Merge 0.10->trunk
Diffstat (limited to 'util/sql.lua')
-rw-r--r--util/sql.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sql.lua b/util/sql.lua
index b4d14537..9981ac3c 100644
--- a/util/sql.lua
+++ b/util/sql.lua
@@ -1,6 +1,6 @@
local setmetatable, getmetatable = setmetatable, getmetatable;
-local ipairs, unpack, select = ipairs, unpack, select;
+local ipairs, unpack, select = ipairs, table.unpack or unpack, select; --luacheck: ignore 113
local tonumber, tostring = tonumber, tostring;
local assert, xpcall, debug_traceback = assert, xpcall, debug.traceback;
local t_concat = table.concat;