aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAlexey AL <AlexeySa@users.noreply.github.com>2016-04-23 07:43:46 +0300
committerAlexey AL <AlexeySa@users.noreply.github.com>2016-04-23 07:43:46 +0300
commitb2dbee6de5c4f93e1ab9be60acba7d1004453ea3 (patch)
tree68bdce6de97dfc84a9120d35b06706eaf3ebc6c7 /src/plugins
parent0c026a12be5c68b0088606efe6ffcaa744054235 (diff)
downloadrspamd-b2dbee6de5c4f93e1ab9be60acba7d1004453ea3.tar.gz
rspamd-b2dbee6de5c4f93e1ab9be60acba7d1004453ea3.zip
Fix mime types plugin
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/mime_types.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index f51e20cb7..fbd6b6eb8 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -127,6 +127,11 @@ if opts then
})
rspamd_config:register_symbol({
type = 'virtual',
+ name = settings['symbol_bad'],
+ parent = id
+ })
+ rspamd_config:register_symbol({
+ type = 'virtual',
name = settings['symbol_good'],
flags = 'nice',
parent = id