diff options
author | Andrew Lewis <nerf@judo.za.org> | 2021-02-05 14:37:43 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2021-02-05 14:37:43 +0200 |
commit | 794bb6c241c5d5002261b4d2d2c27cea40d19dfe (patch) | |
tree | 99d4930528d70c08c50f2a67d444bb12318251b2 /rules/controller | |
parent | f78a04d718ce147da5cf99e99e59c4e3d4d44146 (diff) | |
download | rspamd-794bb6c241c5d5002261b4d2d2c27cea40d19dfe.tar.gz rspamd-794bb6c241c5d5002261b4d2d2c27cea40d19dfe.zip |
[Fix] Avoid reinitialising neural settings
Diffstat (limited to 'rules/controller')
-rw-r--r-- | rules/controller/neural.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rules/controller/neural.lua b/rules/controller/neural.lua index 3207e008c..b3ec690e0 100644 --- a/rules/controller/neural.lua +++ b/rules/controller/neural.lua @@ -61,8 +61,6 @@ local function handle_learn(task, conn) conn:send_string('{"success" : true}') end -rspamd_config:add_post_init(neural_common.process_rules_settings) - return { learn = { handler = handle_learn, |