]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix uitil.unpack function
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 10 Jun 2024 15:02:38 +0000 (16:02 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 10 Jun 2024 15:02:38 +0000 (16:02 +0100)
lualib/lua_util.lua

index ac755182b0a64081f13f5e637a35db346957c07d..650ad5db1e5d5c85de505b81ec6d26638f9fd6db 100644 (file)
@@ -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
 
 --[[[