diff options
Diffstat (limited to 'src/plugins/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'] |