From: Vsevolod Stakhov Date: Mon, 12 Nov 2018 15:59:45 +0000 (+0000) Subject: [Fix] Fix explicit methods call in selectors X-Git-Tag: 1.8.2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0f8a1fc93fb5c012cf3453f8397fb14db10eb8e;p=thirdparty%2Frspamd.git [Fix] Fix explicit methods call in selectors Issue: #2621 Closes: #2621 --- diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua index 065eac89b0..754795495d 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, }