From: Vsevolod Stakhov Date: Tue, 26 May 2015 16:03:09 +0000 (+0100) Subject: Fix misprint in spamassassin plugin. X-Git-Tag: 0.9.5~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c2c2dc9a118d25fa7604b4256f16ead49036fa1f;p=rspamd.git Fix misprint in spamassassin plugin. --- 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