1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-23 10:38:05 +11:00

fixed a dumb bug in the KittenOS net lib

This commit is contained in:
Izaya 2018-04-18 01:59:13 +10:00
parent f3fc4b3504
commit b25311bfed

View File

@ -91,7 +91,7 @@ local function socket(addr,port,sclose) -- todo, add remote closing of sockets
conn.write = cwrite
conn.read = cread
conn.state = "open"
local function listener(_,t,f,p,d)
local function listener(t,f,p,d)
if f == conn.addr and p == conn.port then
if d == sclose then
conn:close()