aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/net/je_lua_net.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules/net/je_lua_net.cpp')
-rw-r--r--src/lua/modules/net/je_lua_net.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/modules/net/je_lua_net.cpp b/src/lua/modules/net/je_lua_net.cpp
index 795eb18..b081733 100644
--- a/src/lua/modules/net/je_lua_net.cpp
+++ b/src/lua/modules/net/je_lua_net.cpp
@@ -66,8 +66,8 @@ namespace Lua
LUA_EXPORT int luaopen_net(lua_State* L)
{
- luax_newclass(L, luaopen_Socket);
- luax_newclass(L, luaopen_Buffer);
+ luaopen_Socket(L);
+ luaopen_Buffer(L);
luaL_Reg f[] = {
{ "init", l_initNetwork },