]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Sigh, another issue with classifier pseudo-filter
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 28 Oct 2018 10:32:51 +0000 (10:32 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 28 Oct 2018 10:33:34 +0000 (10:33 +0000)
src/libserver/symbols_cache.c

index 237fa38b821ab2ccde73f3648c74a0258ae1ddfa..fa7b20edabea20f11377974c2b05af985ed92d03 100644 (file)
@@ -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;