From e035baa3e9577379cd34ea7e97f1f88ab10582a0 Mon Sep 17 00:00:00 2001 From: Steve Date: Sat, 9 Jan 2021 16:38:36 -0500 Subject: [PATCH] fix mutexes --- handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers.go b/handlers.go index 69b0cc0..64a6db2 100644 --- a/handlers.go +++ b/handlers.go @@ -201,8 +201,8 @@ func (l *Listener) voiceUpdate(s *discordgo.Session, event *discordgo.VoiceState } l.ConnectedLock.Unlock() l.Bridge.DiscordUserCount = count - l.UserCountLock.Unlock() } + l.UserCountLock.Unlock() } }