Hopefully the skunk who squealed will be identified and dealt with appropriately by the other sailors.......
That won't happen. Seriously though, this Captain should've known better.
His poor judgment wasn't in getting a hooker. It was getting ten of them in the presence of his crew and thinking no one was going to blab about it. Drummed in to every sailor's brain these days is the notion that if you see misbehavior and don't report it, you're just as culpable as the person who misbehaved.
If you want to bang a hooker, be discrete. Be discrete with where you do it, and who your liberty buddies are. Especially today when liberty antics make it to Facebook at the speed of light.
For better or worse, the bacchanalian days of getting hammered with your crew surrounded by a harem of hookers ended a long time ago and this Commanding Officer knew it, or should have.