浏览代码

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"`