]> source.dussan.org Git - rspamd.git/commitdiff
Fix misprint in spamassassin plugin.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 26 May 2015 16:03:09 +0000 (17:03 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 26 May 2015 16:38:30 +0000 (17:38 +0100)
src/plugins/lua/spamassassin.lua

index a5d4c0c332bc03b63ac1fb068a811027a534c3a3..9c25b67b601a7641d8ee3ea2a866f58e2f31ad3c 100644 (file)
@@ -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