]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix log messages in force_actions plugin
authorThomas Oettli <spacefreak@noop.ch>
Sat, 25 Jan 2020 23:12:31 +0000 (00:12 +0100)
committerThomas Oettli <spacefreak@noop.ch>
Sat, 25 Jan 2020 23:12:31 +0000 (00:12 +0100)
src/plugins/lua/force_actions.lua

index fb863a23ba357c5f0483f8d41b4d9c5bd0495d54..c2a48e148c12bc74e17ad9c3367d14f014fca10e 100644 (file)
@@ -164,9 +164,9 @@ local function configure_module()
               rspamd_config:register_dependency(t.name, a)
             end
             rspamd_logger.infox(rspamd_config, 'Registered symbol %1 <%2> with dependencies [%3]',
-                name, expr, table.concat(atoms, ','))
+                t.name, expr, table.concat(atoms, ','))
           else
-            rspamd_logger.infox(rspamd_config, 'Registered symbol %1 <%2> as postfilter', name, expr)
+            rspamd_logger.infox(rspamd_config, 'Registered symbol %1 <%2> as postfilter', t.name, expr)
           end
         end
       end