aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-06-10 16:02:38 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-06-10 16:02:38 +0100
commit52b6d0bc01a2a178dabc0b0ab8bce0414356732e (patch)
tree2bc53f84e0d41b0423af91cb9e5eaa2e452840fe /lualib
parent517d840398f132cdeb7859bec5eb74b0a1e04190 (diff)
downloadrspamd-52b6d0bc01a2a178dabc0b0ab8bce0414356732e.tar.gz
rspamd-52b6d0bc01a2a178dabc0b0ab8bce0414356732e.zip
[Minor] Fix uitil.unpack function
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_util.lua4
1 files changed, 2 insertions, 2 deletions
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
--[[[