From 34c4ad5aa2568fbd3202c5baeed0395c261ff3f5 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Fri, 17 Jun 2016 11:01:34 -0500 Subject: [PATCH] Fix data race issue --- logging.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/logging.go b/logging.go index 541a5dc..880d246 100644 --- a/logging.go +++ b/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 }