diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-03 11:39:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-03 11:39:07 +0100 |
commit | 83010a3e958bb84487ce0e48dde4911bd7925bf2 (patch) | |
tree | 4a3a83afc08d1f7d5d9f122f340b9f6736aec0c7 /src/plugins/lua/spamtrap.lua | |
parent | 7a2c8da342ff2a5ec798379e609d5f1a6d2af679 (diff) | |
download | rspamd-83010a3e958bb84487ce0e48dde4911bd7925bf2.tar.gz rspamd-83010a3e958bb84487ce0e48dde4911bd7925bf2.zip |
[Fix] Fix syntax error in spamtrap plugin
Diffstat (limited to 'src/plugins/lua/spamtrap.lua')
-rw-r--r-- | src/plugins/lua/spamtrap.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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 |