aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/settings.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/settings.lua')
-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