aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lualib/rspamadm/rescore.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/rspamadm/rescore.lua b/lualib/rspamadm/rescore.lua
index 9865f33e9..cbdca924b 100644
--- a/lualib/rspamadm/rescore.lua
+++ b/lualib/rspamadm/rescore.lua
@@ -378,7 +378,7 @@ return function (args, cfg)
write_scores(new_symbol_scores, cfg["output"])
end
- if opts["diff"] then
+ if cfg["diff"] then
print_score_diff(new_symbol_scores, original_symbol_scores)
end