remove unnecessary function

This commit is contained in:
Luca 2015-06-27 17:06:11 +02:00
commit 110d84a916
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ proc connect*(ftp: AsyncFtpClient) {.async.} =
# Handle 220 messages from the server
assertReply(reply, "220")
while reply.continuesWith("-", 3): # handle multiline 220 message
while reply[3] == "-": # handle multiline 220 message
assertReply(reply, "220")
reply = await ftp.expectReply()