]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Clickhouse: Use proper flag names
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 25 Feb 2021 16:12:11 +0000 (16:12 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 25 Feb 2021 16:12:11 +0000 (16:12 +0000)
src/plugins/lua/clickhouse.lua

index 0234a9cf6d38a4635ec610ba557c693885a2356d..7ef093cc22833faf15dee80f995094a9b81e97e8 100644 (file)
@@ -644,9 +644,9 @@ local function clickhouse_collect(task)
 
   local nurls = 0
   local task_urls = task:get_urls({
-   need_content = true,
-   need_images = true,
-   need_emails = false,
+   content = true,
+   images = true,
+   emails = false,
    sort = true,
   }) or {}