God was punishing the Corinthians for their selfish arrogance in the Lord's Supper and he was calling them to repentance. The solution was very simple. Let the affluent wait for the poor to arrive at church before they started the love feast. And if the affluent complained of hunger, then let them have a snack at home before they go to church so they will be able to wait for the whole church to arrive. This way they could be loving and unselfish.
Some churches only allow church members in good standing to partake of communion.
All others are forbidden to partake. Most congregations of the churches of Christ practice open communion. Lutherans interpreted that to mean that when one partakes of the bread that it does not literally become transformed into the body of Jesus, but the flesh of Jesus is contained inside the molecules of bread. That old controversy has become academic. Both views miss the point.