aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2016-10-05 17:25:16 +0300
committerGitHub <noreply@github.com>2016-10-05 17:25:16 +0300
commit7b97a2f69aaa64410cb1611fd9a8b8baf71d1160 (patch)
tree330a12aa38480301354e6111edcad6938406df7b /src/plugins/lua
parentb89a7948754caad625bbe7208eab0ad3e8af1035 (diff)
downloadrspamd-7b97a2f69aaa64410cb1611fd9a8b8baf71d1160.tar.gz
rspamd-7b97a2f69aaa64410cb1611fd9a8b8baf71d1160.zip
[Minor] Fix settings module logging
Diffstat (limited to 'src/plugins/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 5b173e18c..406385e78 100644
--- a/src/plugins/lua/settings.lua
+++ b/src/plugins/lua/settings.lua
@@ -274,7 +274,7 @@ local function check_settings(task)
local rule = check_specific_setting(s.name, s.rule, ip, client_ip, from, rcpt, user, uname)
if rule then
rspamd_logger.infox(task, "<%1> apply settings according to rule %2",
- task:get_message_id(), name)
+ task:get_message_id(), s.name)
if rule['apply'] then
task:set_settings(rule['apply'])
applied = true