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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5f548307ba13204c0219477305180e9f9c2cd78;p=thirdparty%2Frspamd.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 e9d3661149..8182dbf5e3 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) {