diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-01 22:40:29 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-01 22:40:29 +0000 |
commit | ebf5a88da4b591342814c971e55ff2bf9051cdfb (patch) | |
tree | f290656286c8fa5c8d9fcc6cfff2bad13b709e60 /lualib/rspamadm/rescore.lua | |
parent | fcf72e80c786d109fc16d693ef80bb518ea24831 (diff) | |
download | rspamd-ebf5a88da4b591342814c971e55ff2bf9051cdfb.tar.gz rspamd-ebf5a88da4b591342814c971e55ff2bf9051cdfb.zip |
[Minor] Fix variable name
Diffstat (limited to 'lualib/rspamadm/rescore.lua')
-rw-r--r-- | lualib/rspamadm/rescore.lua | 4 |
1 files 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 |