'Mean Girls' producers have removed a joke that offended Lindsay Lohan.

The team behind the musical reboot - which saw Lindsay return in a cameo role two decades after starring as Cady Heron in the original 2004 cult classic - appears to have taken action after she was "very hurt" by one line in particular.

In the new movie, rap star Megan Thee Stallion says: "We are going back red. Y2K fire crotch is back!"

The comment is a reference to an infamous remark made by oil heir Brandon Davis back in 2006, when he called Lindsay the name during a night out in Los Angeles.

The line now appears to have been edited out of the streaming release, following reports that the actress was upset by the quip.

A rep for the Hollywood star previously told The Messenger: "Lindsay was very hurt and disappointed by the reference in the film."

The new movie is written by Tina Fey, who previously revealed that she was delighted by Lindsay's cameo appearance.

Tina, 53, told Entertainment Weekly: "Paramount was like, 'Can you get any of the original ladies?' And I was like, 'I can't fit five people in'. I felt like if I could only get one person as a surprise, the original movie is really Lindsay's movie."

Lindsay plays a Mathlete moderator in the new film, and Tina was thrilled to reunite with the actress.

She said: "As great as [the original cast] are, she's the heart of that movie. And I thought, well, what could she do? I didn't think [she should] play a teacher.

"And just to have her do that late in the movie, it also feels like it comes, I hope, at a time where fans weren't expecting one more little surprise. It also lets her be smart, which Cady is."