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