Diff

plugins/mod_storage_sql.lua @ 12589:39ae08180c81

compat: Remove handling of Lua 5.1 location of 'unpack' function
author Kim Alvefur <zash@zash.se>
date Mon, 11 Jul 2022 19:07:38 +0200
parent 12574:18d33668c5fa
child 12595:0572b6e604a3
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua	Mon Jul 11 17:32:13 2022 +0200
+++ b/plugins/mod_storage_sql.lua	Mon Jul 11 19:07:38 2022 +0200
@@ -13,7 +13,7 @@
 local t_concat = table.concat;
 
 local noop = function() end
-local unpack = table.unpack or unpack; -- luacheck: ignore 113
+local unpack = table.unpack;
 local function iterator(result)
 	return function(result_)
 		local row = result_();