aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lualib/rspamadm/mime.lua2
1 files changed, 2 insertions, 0 deletions
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