Update Network.lua

This commit is contained in:
Minecraftku_hei 2021-04-13 22:42:55 +08:00 committed by GitHub
parent fa60b60044
commit ddb3fd2846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"