diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-28 11:38:54 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-28 11:38:54 +0000 |
commit | 8ac1446b8a499a9008567fdeb7bdcaf9c8effcca (patch) | |
tree | b49964f25f01dc517558ab5784c8213455213362 /src | |
parent | 59d10f38bf0382fb1cdafe76c7ccf6ac27b3e448 (diff) | |
download | rspamd-8ac1446b8a499a9008567fdeb7bdcaf9c8effcca.tar.gz rspamd-8ac1446b8a499a9008567fdeb7bdcaf9c8effcca.zip |
[Minor] Fix dependencies resolution
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/symbols_cache.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c index fa7b20eda..dac24a1cf 100644 --- a/src/libserver/symbols_cache.c +++ b/src/libserver/symbols_cache.c @@ -2242,6 +2242,12 @@ rspamd_symbols_cache_find_filter (struct symbols_cache *cache, item = g_hash_table_lookup (cache->items_by_symbol, name); if (item != NULL) { + + if (item->is_virtual) { + item = g_ptr_array_index (cache->filters, + item->specific.virtual.parent); + } + if (!item->is_filter) { return -1; } |