From: Vsevolod Stakhov Date: Thu, 1 Mar 2018 22:40:29 +0000 (+0000) Subject: [Minor] Fix variable name X-Git-Tag: 1.7.0~91 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ebf5a88da4b591342814c971e55ff2bf9051cdfb;p=rspamd.git [Minor] Fix variable name --- 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