From: Vsevolod Stakhov Date: Sun, 28 Oct 2018 10:32:51 +0000 (+0000) Subject: [Minor] Sigh, another issue with classifier pseudo-filter X-Git-Tag: 1.8.2~115 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=59d10f38bf0382fb1cdafe76c7ccf6ac27b3e448;p=thirdparty%2Frspamd.git [Minor] Sigh, another issue with classifier pseudo-filter --- diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c index 237fa38b82..fa7b20edab 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;