diff options
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r-- | src/plugins/fuzzy_check.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 59b36a4e5..1a9c9e0ed 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -501,7 +501,7 @@ gint fuzzy_check_module_config (struct rspamd_config *cfg) { const ucl_object_t *value, *cur; - gint res = TRUE, cb_id; + gint res = TRUE, cb_id, nrules = 0; if (!rspamd_config_is_module_enabled (cfg, "fuzzy_check")) { return TRUE; @@ -590,6 +590,7 @@ fuzzy_check_module_config (struct rspamd_config *cfg) LL_FOREACH (value, cur) { fuzzy_parse_rule (cfg, cur, cb_id); + nrules ++; } } @@ -597,6 +598,9 @@ fuzzy_check_module_config (struct rspamd_config *cfg) msg_warn_config ("fuzzy module is enabled but no rules are defined"); } + msg_info_config ("init internal fuzzy_check module, %d rules loaded", + nrules); + return res; } |