aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/mid.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-15 16:24:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-15 16:24:04 +0000
commitd54cddeeee88a24bcfa75a9144989812fcd11208 (patch)
tree448345b14dd786c684b7758850106f7dd0aed977 /src/plugins/lua/mid.lua
parenta430b091986b3ed700d809667d4280e890e0df04 (diff)
downloadrspamd-d54cddeeee88a24bcfa75a9144989812fcd11208.tar.gz
rspamd-d54cddeeee88a24bcfa75a9144989812fcd11208.zip
[Project] Encourage dependencies registration by name only
Diffstat (limited to 'src/plugins/lua/mid.lua')
-rw-r--r--src/plugins/lua/mid.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/mid.lua b/src/plugins/lua/mid.lua
index e1dd9ed5d..4baa8867c 100644
--- a/src/plugins/lua/mid.lua
+++ b/src/plugins/lua/mid.lua
@@ -96,7 +96,7 @@ if opts then
rspamd_config:add_composite(settings['csymbol_missing_mid_allowed'],
settings['symbol_known_no_mid'] .. ' & ' .. settings['symbol_missing_mid'])
- rspamd_config:register_dependency(id, settings['symbol_dkim_allow'])
+ rspamd_config:register_dependency('KNOWN_MID_CALLBACK', settings['symbol_dkim_allow'])
else
rspamd_logger.infox(rspamd_config, 'source is not specified, disabling module')
lua_util.disable_module(N, "config")