Fix data race issue

This commit is contained in:
Bruce Marriner 2016-06-17 11:01:34 -05:00
parent e451cb36c3
commit 34c4ad5aa2

View file

@ -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
}