summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/lua/spamtrap.lua3
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