瀏覽代碼

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
 	}