Deuteronomy 23:12-13 ASV

If you grew up in the church, you probably remember sitting next to your friends during church and finding obscure passages of scripture that made you giggle during the sermon. Well, I don't have this passage memorized, but over the years I've "run into" it and have laughed to myself.

But in the midst of the comic relief, I have to ask myself..."What is this passage supposed to mean?