]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix settings module logging 1007/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 5 Oct 2016 14:25:16 +0000 (17:25 +0300)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2016 14:25:16 +0000 (17:25 +0300)
src/plugins/lua/settings.lua

index 5b173e18c16603ec0294fd3f3cc2100ddc2add1d..406385e783fec9917a7e39a540cef2de6d149f8f 100644 (file)
@@ -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