aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-28 21:41:18 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-28 21:41:59 +0000
commitb7c045e483cb9cf069a605d8054d937080863553 (patch)
treeb0422d7ebf87e1a9e258f19583106b6c772c6d03 /src/plugins
parent40d18e4bcef58903930e52c5162f4f7e257eb6a8 (diff)
downloadrspamd-b7c045e483cb9cf069a605d8054d937080863553.tar.gz
rspamd-b7c045e483cb9cf069a605d8054d937080863553.zip
Fix settings application.
Issue: #416 Reported by: @moisseev
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/settings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua
index e29b2d272..71534fa3e 100644
--- a/src/plugins/lua/settings.lua
+++ b/src/plugins/lua/settings.lua
@@ -247,7 +247,7 @@ local function check_settings(task)
rspamd_logger.infox(task, "<%1> apply settings according to rule %2",
task:get_message_id(), name)
if rule['apply'] then
- task:set_settings(rule)
+ task:set_settings(rule['apply'])
end
if rule['symbols'] then
-- Add symbols, specified in the settings