summaryrefslogtreecommitdiffstats
path: root/rules/misc.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-11 14:35:22 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-11 14:35:22 +0000
commit355526a8d1ad68e5badcd76da3ec4f63c501d15d (patch)
treecfad18d3810282e64c88ab5c1b99b327410543f1 /rules/misc.lua
parent84b8e138d21852d3650a4cebc3c0178da47c1545 (diff)
downloadrspamd-355526a8d1ad68e5badcd76da3ec4f63c501d15d.tar.gz
rspamd-355526a8d1ad68e5badcd76da3ec4f63c501d15d.zip
[Fix] RCPT_COUNT fixes
Diffstat (limited to 'rules/misc.lua')
-rw-r--r--rules/misc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/misc.lua b/rules/misc.lua
index a9382f8f4..2c6d8899b 100644
--- a/rules/misc.lua
+++ b/rules/misc.lua
@@ -235,7 +235,7 @@ rspamd_config.URI_COUNT_ODD = {
if (ct and ct:lower():find('^multipart/alternative')) then
local urls = task:get_urls()
if (urls and (#urls % 2 == 1)) then
- return true
+ return true, 1.0, tostring(#urls % 2)
end
end
end,