about summary refs log tree commit diff stats
path: root/src/linit.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-20 23:34:29 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-20 23:34:29 -0800
commit548d59f918eb9d370053596b5166f09b4e5e00c5 (patch)
treed0fc64dc432567aecee7f2552e81004309b83ed3 /src/linit.c
parent02acfa7c9c9347abf2c170b0405010bc6f219fc0 (diff)
downloadteliva-548d59f918eb9d370053596b5166f09b4e5e00c5.tar.gz
luasocket now loading properly
I still haven't tried actually running it.
Diffstat (limited to 'src/linit.c')
-rw-r--r--src/linit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linit.c b/src/linit.c
index 6211f39..a3923e9 100644
--- a/src/linit.c
+++ b/src/linit.c
@@ -23,6 +23,7 @@ static const luaL_Reg lualibs[] = {
   {LUA_STRLIBNAME, luaopen_string},
   {LUA_MATHLIBNAME, luaopen_math},
   {LUA_CURSESLIBNAME, luaopen_curses},
+  {LUA_SOCKETCORELIBNAME, luaopen_socket_core},
   {LUA_DBLIBNAME, luaopen_debug},
   {NULL, NULL}
 };