Quantum corrections to the spectroscopy of a BTZ black hole via periodicity