[Minor] Init urls before getting stats data

This commit is contained in:
Vsevolod Stakhov 2018-06-16 18:03:52 +01:00
parent 28926e761d
commit 92ceec4b7c

View File

@ -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