How does the sentence end?

The teacher told Lindsey to stay after class but not Carrie because
Lindsey was being naughty.