]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] clustering.lua - fix typos 2807/head
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>
Tue, 19 Mar 2019 14:08:15 +0000 (15:08 +0100)
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>
Tue, 19 Mar 2019 14:08:15 +0000 (15:08 +0100)
src/plugins/lua/clustering.lua

index 327790dda91a783d75a02d72351fd5a5136c0667..0b514476c8421fa4e47cca382b8c45dab3a497f7 100644 (file)
@@ -223,7 +223,7 @@ local function clusterting_idempotent_cb(task, rule)
       rspamd_logger.errx(task, 'got error while getting clustering keys %s: %s',
           source_selector, err)
     else
-      rspamd_logger.debugm(task, 'set clustering key for %s: %s{%s} = %s',
+      rspamd_logger.debugm(N, task, 'set clustering key for %s: %s{%s} = %s',
           source_selector, "unknown error")
     end
   end
@@ -296,7 +296,7 @@ if opts['rules'] then
         callback = callback_gen(clusterting_filter_cb, rule),
       }
       rspamd_config:register_symbol{
-        name = rule.symbol + '_STORE',
+        name = rule.symbol .. '_STORE',
         type = 'idempotent',
         callback = callback_gen(clusterting_idempotent_cb, rule),
       }
@@ -306,4 +306,4 @@ if opts['rules'] then
   end
 else
   lua_util.disable_module(N, "config")
-end
\ No newline at end of file
+end