aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/symbols_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/symbols_cache.c')
-rw-r--r--src/libserver/symbols_cache.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c
index 68b4ffa84..d5fdcb947 100644
--- a/src/libserver/symbols_cache.c
+++ b/src/libserver/symbols_cache.c
@@ -752,13 +752,6 @@ rspamd_symbols_cache_add_condition (struct symbols_cache *cache, gint id,
item = g_ptr_array_index (cache->items_by_id, id);
- if (item->type & (SYMBOL_TYPE_POSTFILTER|SYMBOL_TYPE_PREFILTER)) {
- msg_err_cache ("conditions are not supported for prefilters and "
- "postfilters %s", item->symbol);
-
- return FALSE;
- }
-
if (item->condition_cb != -1) {
/* We already have a condition, so we need to remove old cbref first */
msg_warn_cache ("rewriting condition for symbol %s", item->symbol);