From 59d10f38bf0382fb1cdafe76c7ccf6ac27b3e448 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 28 Oct 2018 10:32:51 +0000 Subject: [Minor] Sigh, another issue with classifier pseudo-filter --- src/libserver/symbols_cache.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libserver') 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; -- cgit v1.2.3