diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-26 23:27:49 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-26 23:27:49 +0000 |
commit | 611eae1b23025f80bf5ad36ab62254348feee972 (patch) | |
tree | f2184be5bf3db0ecb7424804aa2b5621f4cda689 /src/plugins/chartable.c | |
parent | 2ccd109189b31349ac128ad82e5563b585fb0f06 (diff) | |
download | rspamd-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.c | 6 |
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[] = { |