commit 61a7a0d: [Minor] Fix combine selectors functor

Vsevolod Stakhov vsevolod at rspamd.com
Wed Nov 23 23:00:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-11-23 22:59:36 +0000
URL: https://github.com/rspamd/rspamd/commit/61a7a0dd1c3aa4f4e7499fff5f5a0339844641ee (HEAD -> master)

[Minor] Fix combine selectors functor

---
 lualib/lua_selectors/init.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/lua_selectors/init.lua b/lualib/lua_selectors/init.lua
index 12bc7f2b9..e4d76471e 100644
--- a/lualib/lua_selectors/init.lua
+++ b/lualib/lua_selectors/init.lua
@@ -459,7 +459,7 @@ end
 --[[[
 -- @function lua_selectors.combine_selectors(task, selectors, delimiter)
 --]]
-exports.combine_selectors = function(selectors, delimiter)
+exports.combine_selectors = function(_, selectors, delimiter)
   if not delimiter then delimiter = '' end
 
   if not selectors then return nil end


More information about the Commits mailing list