His fans were impressed at how he reacted.

Dayanna Rodas, the hostess at an IHOP restaurant on Long Island, was at work when a father and daughter walked in, hoping to sit down. When she told them it was going to be a 30-minute wait, the pair left.

What Rodas didn’t realize was that the man — wearing a face mask, sweatshirt and basketball shorts — was Adam Sandler.

How Adam Sandler Reacted When He Was Told There Was a Long Wait at IHOP

man wearing a red sweatshirt and a black mask

Rodas posted a short clip of security camera footage herself with a clown face filter and revealing she didn’t recognize Sandler and it went viral.

Viewers praised the 54-year-old actor for how he handled the inconvenience. Sandler didn’t use the do-you-know-who-I-am card like some other celebrities might have. Instead when he and his daughter decided the wait was too long, they quietly left.

RELATED: Mom Struggling With Fussy Son at Restaurant Decides to Just Leave – Then, a Waitress Takes the Baby to Do This

When the viral moment caught the attention of Sandler, the Uncut Gems star joked about it on Twitter.

“For the record, I only left the IHOP because the nice woman told me the all-you-can-eat deal didn’t apply to the milkshakes,” he tweeted.

Milkshake Monday Was a Sweet Success

@dayanna.rodas Pleaseee come back #comedy #fyp #foryou #viral #adamsandler ♬ Be A Clown – Angie

IHOP decided to make it up to Sandler by making the following Monday “Milkshake Monday” where customers could go to any of the chain’s 19 Long Island locations and pay $6.49 for all-you-can-drink milkshakes from noon to 8 pm.

“We take our guests’ suggestions very seriously in an effort to continually shake things up and satisfy all palates with our signature commitment to IHOSPITALITY,” said IHOP’s Chief Marketing Officer Kieran Donahue, in a press release.

RELATED: An Adam Sandler Superfan Flew for 30 Hours From Australia To New York to Meet Her Hero — So the Humble Superstar Grants Her Wish

Sandler returned to the restaurant for the sweet deal.

After the visit, the star posted a photo on Twitter of his dog near an IHOP sign that had a heart and his nickname, “Sandman” with the caption: “Thank u IHOP for Milkshake Monday.”

The restaurant chain also donated $1 of each milkshake sold (up to $50,000) at its locations across the US to Comedy Gives Back, a charity for struggling comedians that lost income during the pandemic.

It’s always a good thing when a viral internet video turns into a good cause.