aboutsummaryrefslogtreecommitdiffstats
path: root/rules/controller
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2021-02-05 14:37:43 +0200
committerAndrew Lewis <nerf@judo.za.org>2021-02-05 14:37:43 +0200
commit794bb6c241c5d5002261b4d2d2c27cea40d19dfe (patch)
tree99d4930528d70c08c50f2a67d444bb12318251b2 /rules/controller
parentf78a04d718ce147da5cf99e99e59c4e3d4d44146 (diff)
downloadrspamd-794bb6c241c5d5002261b4d2d2c27cea40d19dfe.tar.gz
rspamd-794bb6c241c5d5002261b4d2d2c27cea40d19dfe.zip
[Fix] Avoid reinitialising neural settings
Diffstat (limited to 'rules/controller')
-rw-r--r--rules/controller/neural.lua2
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,