aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-12 15:59:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-12 15:59:45 +0000
commite0f8a1fc93fb5c012cf3453f8397fb14db10eb8e (patch)
tree37aeb306b22f38f3106e19f58deb410068feb6d8
parent18d4509d6acdcd416cbafd2905666315771cb25e (diff)
downloadrspamd-e0f8a1fc93fb5c012cf3453f8397fb14db10eb8e.tar.gz
rspamd-e0f8a1fc93fb5c012cf3453f8397fb14db10eb8e.zip
[Fix] Fix explicit methods call in selectors
Issue: #2621 Closes: #2621
-rw-r--r--lualib/lua_selectors.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua
index 065eac89b..754795495 100644
--- a/lualib/lua_selectors.lua
+++ b/lualib/lua_selectors.lua
@@ -770,10 +770,10 @@ exports.parse_selector = function(cfg, str)
map_type = 'string',
process = function(inp, t, args)
if t == 'userdata' then
- return inp[method_name](inp, args),string
+ return inp[method_name](inp, args),'string'
else
-- Table
- return inp[method_name],string
+ return inp[method_name],'string'
end
end,
}