Chalk it up to a lesson learned; inappropriate language of any kind is a jail-able offense, regardless of setting/situation (well, as long as someone sees/hears and reports it).

Obviously there is wiggle room and most players just don’t care, but somebody didn’t like what you had to say for whatever reason and reported it.