Lawmakers vote to lift 40-year ban on happy hours