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/lua | |
parent | 4b7520470bfcb417f483384c360fa1b498632336 (diff) | |
download | rspamd-9a01c3d028ce9e78638d256acb89e56bda899301.tar.gz rspamd-9a01c3d028ce9e78638d256acb89e56bda899301.zip |
[Feature] Add 'composites' debug module
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c index 4679b4ede..cd33b219e 100644 --- a/src/lua/lua_config.c +++ b/src/lua/lua_config.c @@ -1968,6 +1968,7 @@ lua_config_add_composite (lua_State * L) composite->id = g_hash_table_size (cfg->composite_symbols); composite->str_expr = rspamd_mempool_strdup (cfg->cfg_pool, expr_str); + composite->sym = name; g_hash_table_insert (cfg->composite_symbols, (gpointer)name, composite); |