Normalize name capitalization

This commit is contained in:
Bruce Marriner 2016-01-07 14:15:03 -06:00
parent 17e9eae679
commit d998b1fac2

View file

@ -54,7 +54,7 @@ type handshakeOp struct {
func (s *Session) Handshake() (err error) { func (s *Session) Handshake() (err error) {
// maybe this is SendOrigin? not sure the right name here // maybe this is SendOrigin? not sure the right name here
data := handshakeOp{2, handshakeData{3, s.Token, handshakeProperties{runtime.GOOS, "DiscordGo v" + VERSION, "", "", ""}}} data := handshakeOp{2, handshakeData{3, s.Token, handshakeProperties{runtime.GOOS, "Discordgo v" + VERSION, "", "", ""}}}
err = s.wsConn.WriteJSON(data) err = s.wsConn.WriteJSON(data)
return return
} }