From: Vsevolod Stakhov Date: Sun, 4 Mar 2018 20:26:47 +0000 (+0000) Subject: [Minor] Fix diff mode X-Git-Tag: 1.7.0~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d63f592f9024d03d065335a5b18f3c861c05e9ae;p=thirdparty%2Frspamd.git [Minor] Fix diff mode --- 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