Software /
code /
prosody
Diff
plugins/mod_storage_sql.lua @ 9691:e11e076f0eb8
various: Don't rely on _G.unpack existing
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 08 Dec 2018 17:09:55 +0100 |
parent | 9628:2fcf517b811e |
child | 9883:f76bd399267c |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Sat Dec 08 17:07:28 2018 +0100 +++ b/plugins/mod_storage_sql.lua Sat Dec 08 17:09:55 2018 +0100 @@ -11,7 +11,7 @@ local t_concat = table.concat; local noop = function() end -local unpack = table.unpack or unpack; +local unpack = table.unpack or unpack; -- luacheck: ignore 113 local function iterator(result) return function(result_) local row = result_();