From c65d5091abb774607a3e4b8a90b613d14ecf759d Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Sat, 30 Apr 2016 20:29:27 -0500 Subject: [PATCH] Fix resume bug! It's op not ip. --- wsapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsapi.go b/wsapi.go index 8fc3661..191f9f2 100644 --- a/wsapi.go +++ b/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"`