소스 검색

Fix resume bug! It's op not ip.

Bruce Marriner 8 년 전
부모
커밋
c65d5091ab
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"`