diff options
-rw-r--r-- | src/plugins/lua/dcc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/dcc.lua b/src/plugins/lua/dcc.lua index 08fca893f..cd8f76de2 100644 --- a/src/plugins/lua/dcc.lua +++ b/src/plugins/lua/dcc.lua @@ -49,7 +49,7 @@ local function check_dcc (task) local envrcpt = 'test@example.com' local rcpts = task:get_recipients(); if rcpts then - local r = table.concat(fun.totable(map(function(rcpt) + local r = table.concat(fun.totable(fun.map(function(rcpt) return rcpt['addr'] end, rcpts)), '\n') if r then |