소스 검색

error strings should not end with punctuation.

Bruce Marriner 9 년 전
부모
커밋
546cd85303
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      wsapi.go

+ 1 - 1
wsapi.go

@@ -666,7 +666,7 @@ type voiceChannelJoinOp struct {
 func (s *Session) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (err error) {
 
 	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.