From d63f592f9024d03d065335a5b18f3c861c05e9ae Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 4 Mar 2018 20:26:47 +0000 Subject: [PATCH] [Minor] Fix diff mode --- lualib/rspamadm/rescore.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/rspamadm/rescore.lua b/lualib/rspamadm/rescore.lua index 9865f33e95..cbdca924b0 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 -- 2.47.3