diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-11 17:37:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-11 17:37:19 +0000 |
commit | 815104c21d171de0d370b00e38e54783a082ed08 (patch) | |
tree | 271d356beab718c71a124eab16c84d3ca4122155 | |
parent | 80b59a48c8d35026425ef2db28e281e955c8e08c (diff) | |
parent | 57c8d570c7381a45a9ec6ead3e9fecbcccd94da5 (diff) | |
download | rspamd-815104c21d171de0d370b00e38e54783a082ed08.tar.gz rspamd-815104c21d171de0d370b00e38e54783a082ed08.zip |
Merge pull request #1911 from dehnli/fann-redis
[Fix] Symbol 'FANNR_SPAM' has its score defined..
-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, |