diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-12-20 20:39:41 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-12-20 20:39:41 +0000 |
commit | 9a01c3d028ce9e78638d256acb89e56bda899301 (patch) | |
tree | ea25c4123710e62c61e1143d46e8a46e7c6491e4 /src/libserver/cfg_rcl.c | |
parent | 4b7520470bfcb417f483384c360fa1b498632336 (diff) | |
download | rspamd-9a01c3d028ce9e78638d256acb89e56bda899301.tar.gz rspamd-9a01c3d028ce9e78638d256acb89e56bda899301.zip |
[Feature] Add 'composites' debug module
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r-- | src/libserver/cfg_rcl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index a41b391a0..f2256f55c 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -1438,6 +1438,7 @@ rspamd_rcl_composite_handler (rspamd_mempool_t *pool, composite->expr = expr; composite->id = g_hash_table_size (cfg->composite_symbols); composite->str_expr = composite_expression; + composite->sym = composite_name; val = ucl_object_lookup (obj, "score"); if (val != NULL && ucl_object_todouble_safe (val, &score)) { |