diff options
Diffstat (limited to 'util-src/net.c')
-rw-r--r-- | util-src/net.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-src/net.c b/util-src/net.c index e307c628..84d7e84e 100644 --- a/util-src/net.c +++ b/util-src/net.c @@ -112,6 +112,7 @@ int luaopen_util_net(lua_State* L) { NULL, NULL } }; - luaL_register(L, "net", exports); + lua_newtable(L); + luaL_register(L, NULL, exports); return 1; } |