ROCHESTER, N.Y. (WROC) — The Monroe County Legislature has passed the Food Delivery Fairness Act.

The Food Delivery Fairness Act stops third-party food delivery services like Grubhub and Door Dash from listing restaurants on their platforms without written permission, and restaurants can opt out of participating in any delivery or takeout services, if they offer their own in-house delivery services.

Monroe County Legislator Rachel Barnhart proposed the bill.

“I got a phone call from a restaurant and they discovered Grubhub had their menu online and a phone number that didn’t go to their restaurant, it went to Grubhub,” Barnhart said. “They were paying commissions on every one of those orders and the menu wasn’t even accurate.”

The bill still has to be signed by the Monroe County Executive Adam Bello.