Commit 1f6d8131 authored by Him188's avatar Him188

Fix captcha read

parent ed66d0bf
...@@ -385,7 +385,7 @@ internal class WtLogin { ...@@ -385,7 +385,7 @@ internal class WtLogin {
val buffer = IoBuffer.Pool.borrow() val buffer = IoBuffer.Pool.borrow()
imageData.readFully(buffer) imageData.readAvailable(buffer)
return LoginPacketResponse.Captcha.Picture( return LoginPacketResponse.Captcha.Picture(
data = buffer, data = buffer,
sign = sign sign = sign
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment