diff options
author | dehnli <dehnli@gmail.com> | 2017-11-11 17:46:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-11 17:46:53 +0300 |
commit | 57c8d570c7381a45a9ec6ead3e9fecbcccd94da5 (patch) | |
tree | e433545cc312acace909980f08147c6431e276d2 /src | |
parent | 5da8cf87d7c40dc6a73d79f0a526f603852c9c6d (diff) | |
download | rspamd-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.lua | 5 |
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, |