From 92ceec4b7c435d1c48765a560748af3d21713d75 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 16 Jun 2018 18:03:52 +0100 Subject: [Minor] Init urls before getting stats data --- lualib/rspamadm/mime.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lualib') diff --git a/lualib/rspamadm/mime.lua b/lualib/rspamadm/mime.lua index e1cf6f801..8caea60ed 100644 --- a/lualib/rspamadm/mime.lua +++ b/lualib/rspamadm/mime.lua @@ -159,6 +159,8 @@ local function extract_handler(opts) end local function stat_handler(opts) + load_config(opts) + rspamd_url.init(rspamd_config:get_tld_path()) local task = load_task(opts) if opts.meta then -- cgit v1.2.3