Explorar el Código

Fix resume bug! It's op not ip.

Bruce Marriner hace 8 años
padre
commit
c65d5091ab
Se han modificado 1 ficheros con 1 adiciones y 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"`