aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/once_received.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-27 22:55:32 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-10-27 22:55:32 +0100
commit0cad33873c08a0f680140296c6eb5d742ef7f118 (patch)
treee1e4a02428a0bb71d85cfc0bf10ed7e13c749c42 /src/plugins/lua/once_received.lua
parent868b8fac116d11487b346110713283c04a865bfa (diff)
downloadrspamd-0cad33873c08a0f680140296c6eb5d742ef7f118.tar.gz
rspamd-0cad33873c08a0f680140296c6eb5d742ef7f118.zip
[Minor] Remove unused variable
Diffstat (limited to 'src/plugins/lua/once_received.lua')
-rw-r--r--src/plugins/lua/once_received.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua
index c3a542dea..aa17315ef 100644
--- a/src/plugins/lua/once_received.lua
+++ b/src/plugins/lua/once_received.lua
@@ -41,7 +41,7 @@ local check_authed = false
local function check_quantity_received (task)
local recvh = task:get_received_headers()
- local nreceived = fun.reduce(function(acc, rcvd)
+ local nreceived = fun.reduce(function(acc, _)
return acc + 1
end, 0, fun.filter(function(h)
return not h['artificial']