From ebf5a88da4b591342814c971e55ff2bf9051cdfb Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 1 Mar 2018 22:40:29 +0000 Subject: [PATCH] [Minor] Fix variable name --- lualib/rspamadm/rescore.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lualib/rspamadm/rescore.lua b/lualib/rspamadm/rescore.lua index 3129af563..fdfbcca98 100644 --- a/lualib/rspamadm/rescore.lua +++ b/lualib/rspamadm/rescore.lua @@ -318,8 +318,8 @@ return function (args, cfg) new_symbol_scores = stitch_new_scores(all_symbols, new_symbol_scores) - if res["output"] then - write_scores(new_symbol_scores, res["output"]) + if cfg["output"] then + write_scores(new_symbol_scores, cfg["output"]) end if opts["diff"] then -- 2.39.5