summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_xmlrpc.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-08 16:07:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-08 16:07:25 +0100
commit7cc8754ad93be42cf7cd6f1cba68621c93accf89 (patch)
tree7a433b3ae9ec12b73090afd874b2a12399277cee /src/lua/lua_xmlrpc.c
parent4e4beec4cdfa633546a599823280af96b0b61bb7 (diff)
downloadrspamd-7cc8754ad93be42cf7cd6f1cba68621c93accf89.tar.gz
rspamd-7cc8754ad93be42cf7cd6f1cba68621c93accf89.zip
Adopt to lua 5.2.
Diffstat (limited to 'src/lua/lua_xmlrpc.c')
-rw-r--r--src/lua/lua_xmlrpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_xmlrpc.c b/src/lua/lua_xmlrpc.c
index 25f15ed7d..57691cda5 100644
--- a/src/lua/lua_xmlrpc.c
+++ b/src/lua/lua_xmlrpc.c
@@ -552,7 +552,7 @@ gint
luaopen_xmlrpc (lua_State * L)
{
- luaL_openlib (L, "rspamd_xmlrpc", xmlrpclib_m, 0);
+ luaL_register (L, "rspamd_xmlrpc", xmlrpclib_m);
return 1;
}