aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r--src/lua/lua_common.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index b7fcc2034..87474793c 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -980,14 +980,12 @@ rspamd_lua_init (bool wipe_mem)
luaopen_kann (L);
luaopen_spf (L);
luaopen_tensor (L);
+ luaopen_parsers (L);
#ifndef WITH_LUAJIT
rspamd_lua_add_preload (L, "bit", luaopen_bit);
lua_settop (L, 0);
#endif
- rspamd_lua_new_class (L, "rspamd{ev_base}", NULL);
- lua_pop (L, 1);
-
rspamd_lua_new_class (L, "rspamd{session}", NULL);
lua_pop (L, 1);