aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordehnli <dehnli@gmail.com>2017-11-11 17:46:53 +0300
committerGitHub <noreply@github.com>2017-11-11 17:46:53 +0300
commit57c8d570c7381a45a9ec6ead3e9fecbcccd94da5 (patch)
treee433545cc312acace909980f08147c6431e276d2 /src
parent5da8cf87d7c40dc6a73d79f0a526f603852c9c6d (diff)
downloadrspamd-57c8d570c7381a45a9ec6ead3e9fecbcccd94da5.tar.gz
rspamd-57c8d570c7381a45a9ec6ead3e9fecbcccd94da5.zip
[Fix] Symbol 'FANNR_SPAM' has its score defined..
.. but there is no corresponding rule registered
Diffstat (limited to 'src')
-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,