I dont think you have to wait. I have never heard that before and most woman I have talked to nursed within a couple of hours or so right after they woke up.
" You actually CAN breastfeed within 2 to 4 hours after surgery. The reason most doctors say to wait 24 hours is that they were trained before anyone every studied anesthetics in breast milk. Well, this has now been researched and shown that the levels of anesthetic medication used in general anesthesia do not significantly persist in the breast milk beyond a couple hours. The little that does remain for the rest of the day is so minute, that it will have no noticeable effect on the baby."