From: Vsevolod Stakhov Date: Wed, 3 May 2017 10:39:07 +0000 (+0100) Subject: [Fix] Fix syntax error in spamtrap plugin X-Git-Tag: 1.6.0~281 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=83010a3e958bb84487ce0e48dde4911bd7925bf2;p=rspamd.git [Fix] Fix syntax error in spamtrap plugin --- diff --git a/src/plugins/lua/spamtrap.lua b/src/plugins/lua/spamtrap.lua index 6ecd34270..06de27717 100644 --- a/src/plugins/lua/spamtrap.lua +++ b/src/plugins/lua/spamtrap.lua @@ -46,7 +46,7 @@ local function spamtrap_cb(task) task:insert_result(settings['symbol'], settings['score'], rcpt) if settings['action'] then task:set_pre_result(settings['action'], - string.format('spamtrap found: <%s>', rcpt)) + string.format('spamtrap found: <%s>', rcpt)) end end @@ -101,6 +101,7 @@ local function spamtrap_cb(task) if settings['map']:get_key(target) then do_action(target) else + end end end end