]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Remove broken check
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 29 May 2020 15:30:02 +0000 (16:30 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 29 May 2020 15:30:02 +0000 (16:30 +0100)
src/libserver/rspamd_symcache.c

index 624d1c3823f91647ee33765c275e9f8570d4c78d..375dab54cdd363b182ff4b25debb656a9f453ab9 100644 (file)
@@ -690,16 +690,10 @@ rspamd_symcache_post_init (struct rspamd_symcache *cache)
                                        "%s is missing", ddep->from, ddep->to, ddep->from);
                }
                else {
-                       if (it->type & (SYMBOL_TYPE_POSTFILTER|SYMBOL_TYPE_IDEMPOTENT|SYMBOL_TYPE_COMPOSITE)) {
-                               msg_err_cache ("cannot register delayed dependency between %s and %s: "
-                                  "%s is a postfilter", ddep->from, ddep->to, ddep->from);
-                       }
-                       else {
-                               msg_debug_cache ("delayed between %s(%d:%d) -> %s", ddep->from,
-                                               it->id, vit->id, ddep->to);
-                               rspamd_symcache_add_dependency (cache, it->id, ddep->to, vit != it ?
-                                                                                                                                                vit->id : -1);
-                       }
+                       msg_debug_cache ("delayed between %s(%d:%d) -> %s", ddep->from,
+                                       it->id, vit->id, ddep->to);
+                       rspamd_symcache_add_dependency (cache, it->id, ddep->to, vit != it ?
+                                                                                                                                        vit->id : -1);
                }
 
                cur = g_list_next (cur);