]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix variable name
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 1 Mar 2018 22:40:29 +0000 (22:40 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 1 Mar 2018 22:40:29 +0000 (22:40 +0000)
lualib/rspamadm/rescore.lua

index 3129af5638b148251134b0b46dfab51759d5ed16..fdfbcca9898af68db338acfac36a51137a5330ef 100644 (file)
@@ -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