summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/fann_redis.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/fann_redis.lua')
-rw-r--r--src/plugins/lua/fann_redis.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/lua/fann_redis.lua b/src/plugins/lua/fann_redis.lua
index 2ca94ef0f..3a435c321 100644
--- a/src/plugins/lua/fann_redis.lua
+++ b/src/plugins/lua/fann_redis.lua
@@ -1155,6 +1155,11 @@ else
description = 'Neural network SPAM',
group = 'fann'
})
+ rspamd_config:register_symbol({
+ name = def_rules.symbol_spam,
+ type = 'virtual,nostat',
+ parent = id
+ })
rspamd_config:set_metric_symbol({
name = def_rules.symbol_ham,