aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-17 18:23:53 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-17 18:23:53 +0100
commitea2425753d00a15e0f56fde3ac675e262cb86638 (patch)
treeae41074bc977fa17a8861a9e3403c1eba48ea226 /src/lua
parent1f0f66e32c037b922edffd4e8c66ae93cd988691 (diff)
downloadrspamd-ea2425753d00a15e0f56fde3ac675e262cb86638.tar.gz
rspamd-ea2425753d00a15e0f56fde3ac675e262cb86638.zip
Forgot to initialize lua_State.
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 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,