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
|
// message log level
|
||||||
func (v *VoiceConnection) log(msgL int, format string, a ...interface{}) {
|
func (v *VoiceConnection) log(msgL int, format string, a ...interface{}) {
|
||||||
|
|
||||||
if v.Debug { // Deprecated
|
|
||||||
v.LogLevel = LogDebug
|
|
||||||
}
|
|
||||||
|
|
||||||
if msgL > v.LogLevel {
|
if msgL > v.LogLevel {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue