commit d4aaaec: [Minor] Oops, true/false was a stupid convention

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Jul 17 15:49:09 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-07-17 16:46:34 +0100
URL: https://github.com/rspamd/rspamd/commit/d4aaaecfea059bd44fe9d565cfe749bcef997c21 (HEAD -> master)

[Minor] Oops, true/false was a stupid convention

---
 src/plugins/lua/clickhouse.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index 200fcaeca..bede3f50b 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -633,7 +633,7 @@ local function clickhouse_collect(task)
   end
 
   local nurls = 0
-  local task_urls = task:get_urls(true) or {}
+  local task_urls = task:get_urls(false) or {}
 
   nurls = #task_urls
 


More information about the Commits mailing list