diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-09-14 14:35:54 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-09-14 14:35:54 +0100 |
commit | 0d4212eb6cf416c2c02a030195462993bdc84fea (patch) | |
tree | 0e61b4d2fc07882d111b9c19ce1b17d69410b00f /src/plugins/lua/dmarc.lua | |
parent | bc7d894ac5d656773a4e4bdbf0c6c01c80a72420 (diff) | |
download | rspamd-0d4212eb6cf416c2c02a030195462993bdc84fea.tar.gz rspamd-0d4212eb6cf416c2c02a030195462993bdc84fea.zip |
[Fix] Deprecate task:inc_dns_req as it is redundant
Diffstat (limited to 'src/plugins/lua/dmarc.lua')
-rw-r--r-- | src/plugins/lua/dmarc.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua index a06d8ec87..aa6bb18a8 100644 --- a/src/plugins/lua/dmarc.lua +++ b/src/plugins/lua/dmarc.lua @@ -246,7 +246,6 @@ local function dmarc_callback(task) local function dmarc_dns_cb(_, to_resolve, results, err) - task:inc_dns_req() local lookup_domain = string.sub(to_resolve, 8) if err and (err ~= 'requested record is not found' and err ~= 'no records with this name') then task:insert_result(dmarc_symbols['dnsfail'], 1.0, lookup_domain .. ' : ' .. err) |