diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-16 18:03:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-16 18:03:52 +0100 |
commit | 92ceec4b7c435d1c48765a560748af3d21713d75 (patch) | |
tree | a00cca09c4c3be11eab1795f47fe0073415725e7 /lualib | |
parent | 28926e761dc2568ee6349bf5f87c49ccedcf0672 (diff) | |
download | rspamd-92ceec4b7c435d1c48765a560748af3d21713d75.tar.gz rspamd-92ceec4b7c435d1c48765a560748af3d21713d75.zip |
[Minor] Init urls before getting stats data
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/rspamadm/mime.lua | 2 |
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 |