aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-26 17:03:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-26 17:03:09 +0100
commitd4ec1102cf94bff0c4c58018c42b49def64bd267 (patch)
treecb07caf4ca38391852f89b4045eeddb5b704be56 /src/plugins
parentf1e2f1acd45ffc6ae8f79bbba23d4734e588898f (diff)
downloadrspamd-d4ec1102cf94bff0c4c58018c42b49def64bd267.tar.gz
rspamd-d4ec1102cf94bff0c4c58018c42b49def64bd267.zip
Fix misprint in spamassassin plugin.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/spamassassin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua
index a5d4c0c33..9c25b67b6 100644
--- a/src/plugins/lua/spamassassin.lua
+++ b/src/plugins/lua/spamassassin.lua
@@ -500,7 +500,7 @@ local function calculate_score(sym, rule)
return 0.0
end
- if rule['nice'] or (r['score'] and r['score'] < 0.0) then
+ if rule['nice'] or (rule['score'] and rule['score'] < 0.0) then
return -1.0
end