Browse Source

[Fix] Disable all symbols if enable_groups is found in settings

tags/1.3.0
Vsevolod Stakhov 7 years ago
parent
commit
f5f548307b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/libserver/symbols_cache.c

+ 1
- 0
src/libserver/symbols_cache.c View File

@@ -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) {

Loading…
Cancel
Save