summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-24 11:32:35 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-24 11:39:22 +0100
commiteb6a122dd30ba399fcd7f8caed1ccbe6dffbf502 (patch)
treef441ebd9bf15f194be958ca3550fa3a942ac3614
parent6d57160cc5acaf1183747d3e7bd2f46072974dad (diff)
downloadrspamd-eb6a122dd30ba399fcd7f8caed1ccbe6dffbf502.tar.gz
rspamd-eb6a122dd30ba399fcd7f8caed1ccbe6dffbf502.zip
[Minor] Fix options in dkim checks
-rw-r--r--src/plugins/dkim_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c
index 543921214..67aa8eb8e 100644
--- a/src/plugins/dkim_check.c
+++ b/src/plugins/dkim_check.c
@@ -321,14 +321,14 @@ dkim_module_config (struct rspamd_config *cfg)
dkim_module_ctx->whitelist_ip = NULL;
if ((value =
- rspamd_config_get_module_opt (cfg, "options", "check_local")) != NULL) {
+ rspamd_config_get_module_opt (cfg, "dkim", "check_local")) != NULL) {
dkim_module_ctx->check_local = ucl_object_toboolean (value);
}
else {
dkim_module_ctx->check_local = FALSE;
}
if ((value =
- rspamd_config_get_module_opt (cfg, "options", "check_authed")) != NULL) {
+ rspamd_config_get_module_opt (cfg, "dkim", "check_authed")) != NULL) {
dkim_module_ctx->check_authed = ucl_object_toboolean (value);
}
else {