소스 검색

Fix data race issue

Bruce Marriner 8 년 전
부모
커밋
34c4ad5aa2
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      logging.go

+ 0 - 4
logging.go

@@ -79,10 +79,6 @@ func (s *Session) log(msgL int, format string, a ...interface{}) {
 // message log level
 func (v *VoiceConnection) log(msgL int, format string, a ...interface{}) {
 
-	if v.Debug { // Deprecated
-		v.LogLevel = LogDebug
-	}
-
 	if msgL > v.LogLevel {
 		return
 	}