mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 02:28:05 +11:00
fixed a dumb bug in the KittenOS net lib
This commit is contained in:
parent
f3fc4b3504
commit
b25311bfed
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user