aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>2019-03-19 15:08:15 +0100
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>2019-03-19 15:08:15 +0100
commit4ccb887dff19792224d4a5acefa1908fd36fb540 (patch)
tree84601e84a8b395593e90f1fbfed8f4b1c4c09adb
parent436dbee1c25175ecadf4bf1cd794980d3d8c727f (diff)
downloadrspamd-4ccb887dff19792224d4a5acefa1908fd36fb540.tar.gz
rspamd-4ccb887dff19792224d4a5acefa1908fd36fb540.zip
[Minor] clustering.lua - fix typos
-rw-r--r--src/plugins/lua/clustering.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/clustering.lua b/src/plugins/lua/clustering.lua
index 327790dda..0b514476c 100644
--- a/src/plugins/lua/clustering.lua
+++ b/src/plugins/lua/clustering.lua
@@ -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