commit 4ccb887: [Minor] clustering.lua - fix typos
Carsten Rosenberg
c.rosenberg at heinlein-support.de
Fri Mar 22 10:42:04 UTC 2019
Author: Carsten Rosenberg
Date: 2019-03-19 15:08:15 +0100
URL: https://github.com/rspamd/rspamd/commit/4ccb887dff19792224d4a5acefa1908fd36fb540 (refs/pull/2807/head)
[Minor] clustering.lua - fix typos
---
src/plugins/lua/clustering.lua | 6 +++---
1 file 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
More information about the Commits
mailing list