diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-21 21:12:38 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-21 21:12:38 +0200 |
commit | c5d487e42dffc5fca50e68c30d63abcdabb8a67d (patch) | |
tree | 4cb49967a108bdbd7aff304bbb93f59fae50f990 | |
parent | 687384a94a8b12659cbff0ed778910d0efc71c72 (diff) | |
download | prosody-c5d487e42dffc5fca50e68c30d63abcdabb8a67d.tar.gz prosody-c5d487e42dffc5fca50e68c30d63abcdabb8a67d.zip |
mod_storage_sql: Handle Lua 5.3 move of unpack function
-rw-r--r-- | plugins/mod_storage_sql.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index ae6a2676..cf92e31c 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -11,7 +11,7 @@ local is_stanza = require"util.stanza".is_stanza; local t_concat = table.concat; local noop = function() end -local unpack = unpack +local unpack = table.unpack or unpack; local function iterator(result) return function(result_) local row = result_(); |