mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 10:38:05 +11:00
made the parsing not die with no input
This commit is contained in:
parent
c886e27774
commit
75b5d832ca
@ -16,7 +16,9 @@ local katimer
|
||||
|
||||
function start(faddr)
|
||||
if listener then return end
|
||||
if faddr then
|
||||
local host,nport = faddr:match("(.+):(%d+)")
|
||||
end
|
||||
local iaddr,port = host or faddr or "shadowkat.net", tonumber(nport) or 4096
|
||||
socket = internet.connect(iaddr,port)
|
||||
print("Connecting to "..iaddr..":"..tostring(port).."...")
|
||||
|
Loading…
Reference in New Issue
Block a user