summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_config.c')
-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 c5d1a7039..0d6c1f50e 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -643,6 +643,7 @@ rspamd_register_symbol_fromlua (lua_State *L,
sizeof (struct lua_callback_data));
cd->cb_is_ref = TRUE;
cd->callback.ref = ref;
+ cd->L = L;
register_symbol_common (&cfg->cache,
name,