Преглед на файлове

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.