aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-28 10:32:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-28 10:33:34 +0000
commit59d10f38bf0382fb1cdafe76c7ccf6ac27b3e448 (patch)
treeb75517e6d11304fdc303ff5173649d430071421b /src
parent7054a882a1368679caf924b6a8d75621ead61a3a (diff)
downloadrspamd-59d10f38bf0382fb1cdafe76c7ccf6ac27b3e448.tar.gz
rspamd-59d10f38bf0382fb1cdafe76c7ccf6ac27b3e448.zip
[Minor] Sigh, another issue with classifier pseudo-filter
Diffstat (limited to 'src')
-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;