diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-27 22:55:32 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-27 22:55:32 +0100 |
commit | 0cad33873c08a0f680140296c6eb5d742ef7f118 (patch) | |
tree | e1e4a02428a0bb71d85cfc0bf10ed7e13c749c42 /src/plugins/lua/once_received.lua | |
parent | 868b8fac116d11487b346110713283c04a865bfa (diff) | |
download | rspamd-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.lua | 2 |
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'] |