aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index ad77b0602..4c5051aeb 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -15,6 +15,7 @@
*/
#include "lua_common.h"
#include "lua/global_functions.lua.h"
+#include "lptree.h"
/* Lua module init function */
#define MODULE_INIT_FUNC "module_init"
@@ -242,6 +243,7 @@ rspamd_lua_init ()
luaopen_fann (L);
luaopen_sqlite3 (L);
luaopen_cryptobox (L);
+ luaopen_lpeg (L);
rspamd_lua_add_preload (L, "ucl", luaopen_ucl);