]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Forgot to initialize lua_State.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 17 Aug 2014 17:23:53 +0000 (18:23 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 17 Aug 2014 17:23:53 +0000 (18:23 +0100)
src/lua/lua_config.c

index c5d1a7039ae2512193b04d43b1fadef89327ad82..0d6c1f50e6fe3920a72e0854db996e24ad7540ee 100644 (file)
@@ -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,