From ea2425753d00a15e0f56fde3ac675e262cb86638 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 17 Aug 2014 18:23:53 +0100 Subject: [PATCH] Forgot to initialize lua_State. --- src/lua/lua_config.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5