summaryrefslogtreecommitdiffstats
path: root/lualib/lua_selectors.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-17 14:09:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-17 14:09:56 +0100
commitcf76bbb67ab921f5c0b8b2a770c56a49e2707147 (patch)
treef6a850eb3f5aa69c9c5d6019f17e833609fb1ca7 /lualib/lua_selectors.lua
parent623acd70ca98b8257bb90c463bcc5ba5d76ec99b (diff)
downloadrspamd-cf76bbb67ab921f5c0b8b2a770c56a49e2707147.tar.gz
rspamd-cf76bbb67ab921f5c0b8b2a770c56a49e2707147.zip
[Minor] Fix some minor issues
Diffstat (limited to 'lualib/lua_selectors.lua')
-rw-r--r--lualib/lua_selectors.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua
index c42d53b24..3a7a3207f 100644
--- a/lualib/lua_selectors.lua
+++ b/lualib/lua_selectors.lua
@@ -66,7 +66,7 @@ uses any type by default)]],
},
['rcpts'] = {
['get_value'] = function(task, args)
- local rcpts = task:get_rcpt(args[1] or 0)
+ local rcpts = task:get_recipients(args[1] or 0)
if ((rcpts or E)[1] or E).addr then
return rcpts,'email_list'
end