aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/composites.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/composites.c')
-rw-r--r--src/libserver/composites.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/composites.c b/src/libserver/composites.c
index 67ed71149..2ac820990 100644
--- a/src/libserver/composites.c
+++ b/src/libserver/composites.c
@@ -424,7 +424,7 @@ composites_remove_symbols (gpointer key, gpointer value, gpointer data)
if (has_valid_op) {
if (want_remove_symbol || want_forced) {
- g_hash_table_remove (cd->metric_res->symbols, key);
+ rd->ms->flags |= RSPAMD_SYMBOL_RESULT_IGNORED;
msg_debug_composites ("remove symbol %s", key);
}