aboutsummaryrefslogtreecommitdiff
path: root/src/reg.c
diff options
context:
space:
mode:
authorame <[email protected]>2024-07-11 12:49:35 -0500
committerame <[email protected]>2024-07-11 12:49:35 -0500
commit42838a87b8f49db2ae5781498edf4192c61a21a6 (patch)
tree15f3f696f57b39f8158ad14ce6144ea5dd8b3ba0 /src/reg.c
parent5eb06c6392931f84a2cf254627de0a10467ef99c (diff)
make reg return table
Diffstat (limited to 'src/reg.c')
-rw-r--r--src/reg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/reg.c b/src/reg.c
index 13d5866..8c395d8 100644
--- a/src/reg.c
+++ b/src/reg.c
@@ -44,8 +44,6 @@ int luaopen_llib(lua_State* L) {
lreg("config", config_function_list);
lreg("net", net_function_list);
lreg("thread", thread_function_list);
-
- //make llib global
- lua_setglobal(L, "llib");
+
return 1;
}