From 796e1c90d649f2d744d6f95700bb31e0e524c984 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 24 Jun 2019 16:28:20 +0100 Subject: [PATCH] [Minor] Settings: Fix virtual symbols disabling --- src/libserver/rspamd_symcache.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libserver/rspamd_symcache.c b/src/libserver/rspamd_symcache.c index 4cb44cc33..943987cc6 100644 --- a/src/libserver/rspamd_symcache.c +++ b/src/libserver/rspamd_symcache.c @@ -3259,7 +3259,10 @@ rspamd_symcache_process_settings_elt (struct rspamd_symcache *cache, * we ignore them in symcache but prevent them from being * inserted. */ - msg_debug_cache ("skip virtual symbol %s for settings id %ud (%s)", + rspamd_symcache_add_id_to_list (cache->static_pool, + &item->forbidden_ids, id); + msg_debug_cache ("deny virtual symbol %s for settings %ud (%s); " + "parent can still be executed", sym, id, elt->name); } else { -- 2.39.5