aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_config.c1
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);