aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/symbols_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c
index 237fa38b8..fa7b20eda 100644
--- a/src/libserver/symbols_cache.c
+++ b/src/libserver/symbols_cache.c
@@ -919,6 +919,7 @@ rspamd_symbols_cache_add_symbol (struct symbols_cache *cache,
/* Treat it as normal symbol to allow enable/disable */
item->id = cache->filters->len;
g_ptr_array_add (cache->filters, item);
+ item->is_filter = TRUE;
item->specific.normal.func = NULL;
item->specific.normal.user_data = NULL;
item->specific.normal.condition_cb = -1;