mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 11:12:40 +01:00
Update Network.lua
This commit is contained in:
parent
fa60b60044
commit
ddb3fd2846
@ -113,7 +113,7 @@ local function FTPLogin(socketHandle, user, password)
|
||||
|
||||
local success, result = FTPSocketRead(socketHandle)
|
||||
if success then
|
||||
if result:match("TYPE okay") then
|
||||
if result:match("200") then
|
||||
return true
|
||||
else
|
||||
return false, "Authentication failed"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user