error strings should not end with punctuation.

This commit is contained in:
Bruce Marriner 2016-01-27 23:38:38 -06:00
parent 6bb417af7a
commit 546cd85303

View file

@ -666,7 +666,7 @@ type voiceChannelJoinOp struct {
func (s *Session) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (err error) { func (s *Session) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (err error) {
if s.wsConn == nil { if s.wsConn == nil {
return fmt.Errorf("no websocket connection exists.") return fmt.Errorf("no websocket connection exists")
} }
// Create new voice{} struct if one does not exist. // Create new voice{} struct if one does not exist.