Removed unnecessary error check (#505)

This commit is contained in:
Carson Hoffman 2018-01-22 17:32:00 -05:00 committed by Chris Rhodes
parent 8591961512
commit a0faf9a0d0

View file

@ -732,11 +732,8 @@ func (s *Session) identify() error {
s.wsMutex.Lock()
err := s.wsConn.WriteJSON(op)
s.wsMutex.Unlock()
if err != nil {
return err
}
return nil
return err
}
func (s *Session) reconnect() {