Fix data race issue
This commit is contained in:
parent
e451cb36c3
commit
34c4ad5aa2
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue