From: Vsevolod Stakhov Date: Mon, 10 Jun 2024 15:02:38 +0000 (+0100) Subject: [Minor] Fix uitil.unpack function X-Git-Tag: 3.9.0~18^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=52b6d0bc01a2a178dabc0b0ab8bce0414356732e;p=rspamd.git [Minor] Fix uitil.unpack function --- diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua index ac755182b..650ad5db1 100644 --- a/lualib/lua_util.lua +++ b/lualib/lua_util.lua @@ -389,8 +389,8 @@ end --]] local unpack_function = table.unpack or unpack -exports.unpack = function(t) - return unpack_function(t) +exports.unpack = function(...) + return unpack_function(...) end --[[[