Affirming the Consequent occurs when someone fails to consider an alternate antecedent might lead to a given outcome.
The general form for this fallacy is
- If P, then Q
- Therefore P
In general, when thinking of a snappy comeback to a "Yo Mama" joke, pointing out the logical fallacies in their insult only works if the insult references advanced academic topics.