aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/rspamadm/rescore.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-01 22:40:29 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-01 22:40:29 +0000
commitebf5a88da4b591342814c971e55ff2bf9051cdfb (patch)
treef290656286c8fa5c8d9fcc6cfff2bad13b709e60 /lualib/rspamadm/rescore.lua
parentfcf72e80c786d109fc16d693ef80bb518ea24831 (diff)
downloadrspamd-ebf5a88da4b591342814c971e55ff2bf9051cdfb.tar.gz
rspamd-ebf5a88da4b591342814c971e55ff2bf9051cdfb.zip
[Minor] Fix variable name
Diffstat (limited to 'lualib/rspamadm/rescore.lua')
-rw-r--r--lualib/rspamadm/rescore.lua4
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