diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-19 16:17:09 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-19 16:17:09 +0100 |
commit | cd90ae359bbfacd6d0f15bf701e35ee6c9ed54eb (patch) | |
tree | db230ea90da81a2a3d58fb674af34d7cf35676a3 /lualib/rspamadm | |
parent | 52a9a2eed69bed33764a2eb66715711ea660fbeb (diff) | |
download | rspamd-cd90ae359bbfacd6d0f15bf701e35ee6c9ed54eb.tar.gz rspamd-cd90ae359bbfacd6d0f15bf701e35ee6c9ed54eb.zip |
[Minor] Allow to initialise stat ctx via Lua API
Diffstat (limited to 'lualib/rspamadm')
-rw-r--r-- | lualib/rspamadm/mime.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lualib/rspamadm/mime.lua b/lualib/rspamadm/mime.lua index 8caea60ed..37a7d66de 100644 --- a/lualib/rspamadm/mime.lua +++ b/lualib/rspamadm/mime.lua @@ -161,6 +161,7 @@ end local function stat_handler(opts) load_config(opts) rspamd_url.init(rspamd_config:get_tld_path()) + rspamd_config:init_subsystem('langdet,stat') -- Needed to gen stat tokens local task = load_task(opts) if opts.meta then |