aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-04 20:26:47 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-04 20:27:08 +0000
commitd63f592f9024d03d065335a5b18f3c861c05e9ae (patch)
tree447d25b494207a05b2de1c9125e6c90d16db5d66 /lualib
parent5dafa0f969225b143ed8b2e36e666252ada0f8a3 (diff)
downloadrspamd-d63f592f9024d03d065335a5b18f3c861c05e9ae.tar.gz
rspamd-d63f592f9024d03d065335a5b18f3c861c05e9ae.zip
[Minor] Fix diff mode
Diffstat (limited to 'lualib')
-rw-r--r--lualib/rspamadm/rescore.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/rspamadm/rescore.lua b/lualib/rspamadm/rescore.lua
index 9865f33e9..cbdca924b 100644
--- a/lualib/rspamadm/rescore.lua
+++ b/lualib/rspamadm/rescore.lua
@@ -378,7 +378,7 @@ return function (args, cfg)
write_scores(new_symbol_scores, cfg["output"])
end
- if opts["diff"] then
+ if cfg["diff"] then
print_score_diff(new_symbol_scores, original_symbol_scores)
end