summaryrefslogtreecommitdiffstats
path: root/lualib/lua_selectors.lua
diff options
context:
space:
mode:
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