From: Vsevolod Stakhov Date: Mon, 11 Jul 2016 18:51:29 +0000 (+0100) Subject: [Fix] Disable all symbols if enable_groups is found in settings X-Git-Tag: 1.3.0~113 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5f548307ba13204c0219477305180e9f9c2cd78;p=rspamd.git [Fix] Disable all symbols if enable_groups is found in settings --- diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c index e9d366114..8182dbf5e 100644 --- a/src/libserver/symbols_cache.c +++ b/src/libserver/symbols_cache.c @@ -1325,6 +1325,7 @@ rspamd_symbols_cache_process_settings (struct rspamd_task *task, if (def && enabled) { it = NULL; + rspamd_symbols_cache_disable_all_symbols (task, cache); while ((cur = ucl_iterate_object (enabled, &it, true)) != NULL) { if (ucl_object_type (cur) == UCL_STRING) {