COLUMBIA, S.C. (AP) – A South Carolina representative’s last-ditch effort to require a 24-hour waiting period for a Viagra prescription in the state has failed.

Rep. Mia McLeod has said her bill was meant as a tongue-in-cheek rebuke of South Carolina’s abortion laws. It includes the waiting period and counseling about celibacy that are also required before women get an abortion.

The Columbia Democrat tried to attach her proposal Wednesday to a bill establishing the rules on how doctors can practice medicine remotely.

McLeod’s amendment was tabled, but not before a few laughs.

Rep. Mike Pitts told McLeod the proposal wouldn’t affect him, but the 60-year-old Republican from Laurens said he was still voting against it.