fix mutexes

This commit is contained in:
stryan 2021-01-09 16:38:36 -05:00
parent 2e83d6d515
commit e035baa3e9

View File

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