summaryrefslogtreecommitdiffstats
path: root/src/plugins/chartable.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-12-26 23:27:49 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-12-26 23:27:49 +0000
commit611eae1b23025f80bf5ad36ab62254348feee972 (patch)
treef2184be5bf3db0ecb7424804aa2b5621f4cda689 /src/plugins/chartable.c
parent2ccd109189b31349ac128ad82e5563b585fb0f06 (diff)
downloadrspamd-611eae1b23025f80bf5ad36ab62254348feee972.tar.gz
rspamd-611eae1b23025f80bf5ad36ab62254348feee972.zip
[Rework] Distinguish between strict config test mode
Diffstat (limited to 'src/plugins/chartable.c')
-rw-r--r--src/plugins/chartable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c
index ce37ebd58..c997862a1 100644
--- a/src/plugins/chartable.c
+++ b/src/plugins/chartable.c
@@ -58,7 +58,7 @@ INIT_LOG_MODULE(chartable)
/* Initialization */
gint chartable_module_init (struct rspamd_config *cfg, struct module_ctx **ctx);
-gint chartable_module_config (struct rspamd_config *cfg);
+gint chartable_module_config (struct rspamd_config *cfg, bool validate);
gint chartable_module_reconfig (struct rspamd_config *cfg);
module_t chartable_module = {
@@ -109,7 +109,7 @@ chartable_module_init (struct rspamd_config *cfg, struct module_ctx **ctx)
gint
-chartable_module_config (struct rspamd_config *cfg)
+chartable_module_config (struct rspamd_config *cfg, bool validate)
{
const ucl_object_t *value;
gint res = TRUE;
@@ -174,7 +174,7 @@ chartable_module_config (struct rspamd_config *cfg)
gint
chartable_module_reconfig (struct rspamd_config *cfg)
{
- return chartable_module_config (cfg);
+ return chartable_module_config (cfg, false);
}
static gint latin_confusable[] = {