aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_http.c')
-rw-r--r--src/lua/lua_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_http.c b/src/lua/lua_http.c
index 7bbe07187..9df019af4 100644
--- a/src/lua/lua_http.c
+++ b/src/lua/lua_http.c
@@ -622,7 +622,7 @@ gint
luaopen_http (lua_State * L)
{
- luaL_openlib (L, "rspamd_http", httplib_m, 0);
+ luaL_register (L, "rspamd_http", httplib_m);
return 1;
}