aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/once_received.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-14 14:35:54 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-14 14:35:54 +0100
commit0d4212eb6cf416c2c02a030195462993bdc84fea (patch)
tree0e61b4d2fc07882d111b9c19ce1b17d69410b00f /src/plugins/lua/once_received.lua
parentbc7d894ac5d656773a4e4bdbf0c6c01c80a72420 (diff)
downloadrspamd-0d4212eb6cf416c2c02a030195462993bdc84fea.tar.gz
rspamd-0d4212eb6cf416c2c02a030195462993bdc84fea.zip
[Fix] Deprecate task:inc_dns_req as it is redundant
Diffstat (limited to 'src/plugins/lua/once_received.lua')
-rw-r--r--src/plugins/lua/once_received.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua
index 527cf9a62..b09a87dbe 100644
--- a/src/plugins/lua/once_received.lua
+++ b/src/plugins/lua/once_received.lua
@@ -50,7 +50,6 @@ local function check_quantity_received (task)
rspamd_logger.errx(task, 'error looking up %s: %s', to_resolve, err)
task:insert_result(symbol_rdns_dnsfail, 1.0)
end
- task:inc_dns_req()
if not results then
if nreceived <= 1 then