commit a8846dc: [Fix] Hum, it seems that 99ff1c8 was not correct
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Apr 17 15:21:03 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-04-17 16:16:46 +0100
URL: https://github.com/rspamd/rspamd/commit/a8846dcaff52e2c70e71c7fe6d7a26706b439b1d (HEAD -> master)
[Fix] Hum, it seems that 99ff1c8 was not correct
---
src/plugins/lua/clickhouse.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index da084ea74..d8dd14dac 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -1054,9 +1054,9 @@ if opts then
priority = 10,
flags = 'empty,explicit_disable,ignore_passthrough',
})
- rspamd_config:register_finish_script(function(_, ev_base, _)
+ rspamd_config:register_finish_script(function(task)
if nrows > 0 then
- clickhouse_send_data(nil, ev_base)
+ clickhouse_send_data(task, nil)
end
end)
-- Create tables on load
More information about the Commits
mailing list