]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Settings: Fix virtual symbols disabling
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 24 Jun 2019 15:28:20 +0000 (16:28 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 24 Jun 2019 15:28:20 +0000 (16:28 +0100)
src/libserver/rspamd_symcache.c

index 4cb44cc33d464c50e2a644636304c29313c14d72..943987cc62c3ad9cb3db99ca09138d77b907fda6 100644 (file)
@@ -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 {