Explorar o código

Fix resume bug! It's op not ip.

Bruce Marriner %!s(int64=8) %!d(string=hai) anos
pai
achega
c65d5091ab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      wsapi.go

+ 1 - 1
wsapi.go

@@ -49,7 +49,7 @@ type handshakeOp struct {
 }
 
 type ResumePacket struct {
-	Op   int `json:"ip"`
+	Op   int `json:"op"`
 	Data struct {
 		Token     string `json:"token"`
 		SessionID string `json:"session_id"`