diff options
Diffstat (limited to 'src/tcp.c')
-rw-r--r-- | src/tcp.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -89,9 +89,6 @@ int tcp_open(lua_State *L) | |||
89 | aux_add2group(L, "tcp{server}", "tcp{any}"); | 89 | aux_add2group(L, "tcp{server}", "tcp{any}"); |
90 | aux_add2group(L, "tcp{client}", "tcp{client,server}"); | 90 | aux_add2group(L, "tcp{client}", "tcp{client,server}"); |
91 | aux_add2group(L, "tcp{server}", "tcp{client,server}"); | 91 | aux_add2group(L, "tcp{server}", "tcp{client,server}"); |
92 | /* both server and client objects are selectable */ | ||
93 | aux_add2group(L, "tcp{client}", "select{able}"); | ||
94 | aux_add2group(L, "tcp{server}", "select{able}"); | ||
95 | /* define library functions */ | 92 | /* define library functions */ |
96 | luaL_openlib(L, NULL, func, 0); | 93 | luaL_openlib(L, NULL, func, 0); |
97 | return 0; | 94 | return 0; |