From b98d4b104f25eb46f21a0e9a3982b2916d7c440b Mon Sep 17 00:00:00 2001 From: Izaya Date: Sun, 15 Apr 2018 18:28:41 +1000 Subject: [PATCH] fixed a stupid bug in fget --- FRequest/OpenOS/usr/bin/fget.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FRequest/OpenOS/usr/bin/fget.lua b/FRequest/OpenOS/usr/bin/fget.lua index 6179552..fbad176 100644 --- a/FRequest/OpenOS/usr/bin/fget.lua +++ b/FRequest/OpenOS/usr/bin/fget.lua @@ -5,7 +5,7 @@ local tArgs = {...} local address, path = tArgs[1], tArgs[2] local port = 70 -local host,nport = host:match("(.+):(%d+)") +local host,nport = address:match("(.+):(%d+)") port = nport or port host = host or address