]> source.dussan.org Git - rspamd.git/commitdiff
Register virtual symbols for composites.
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Wed, 22 Dec 2010 14:11:28 +0000 (17:11 +0300)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Wed, 22 Dec 2010 14:11:28 +0000 (17:11 +0300)
src/cfg_xml.c

index 389298e4a87ad1771ff9918d7860f05767ada45a..70f3ebda890682ca824a42dfb8b6dcefebe824c0 100644 (file)
@@ -1023,6 +1023,7 @@ handle_composite (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHas
                return FALSE;
        }
        g_hash_table_insert (cfg->composite_symbols, val, expr);
+       register_virtual_symbol (&cfg->cache, val, 1);
 
        return TRUE;
 }