I don't remember exactly what she said but it went something like this:
The professor said to the woman of the class, "Ladies, I think that deserves a boo.."
All of the women in the class boo'd him.
Then she said, "Mr. So-and-so, in the future when you are speaking to a group that is at least 40 percent female you may want to consider monitoring your comments a little better."
She seemed to take his comments in good humor.