1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-27 04:18:05 +11:00

fixed a stupid bug in fget

This commit is contained in:
Izaya 2018-04-15 18:28:41 +10:00
parent 8731e9bbbf
commit b98d4b104f

View File

@ -5,7 +5,7 @@ local tArgs = {...}
local address, path = tArgs[1], tArgs[2] local address, path = tArgs[1], tArgs[2]
local port = 70 local port = 70
local host,nport = host:match("(.+):(%d+)") local host,nport = address:match("(.+):(%d+)")
port = nport or port port = nport or port
host = host or address host = host or address