Good for you! You were right to tell him to quit the filthy language. While I was growing up, and later in life, I never once heard my either my mother or my father (at least in his family's presence) swear. No one has to put up with that language, least of all a lady.