Charlie Sheen may be quitting Twitter, but he was so addicted at first that he would send out 140-character messages while having sex with his former porn-star goddess Bree Olson.

Olson, a one-time Penhouse Pet who has performed in more than 230 adult movies, has posted a bikini-laden YouTube video for her new song with Mike Gonsolin, the charmingly titled “Hollywood Douchebag.” The poppy, Auto-Tuned song includes the lyric, “He’s posting Twitter tweets during sex with me.” Olson tells Page Six, “Charlie discovered Twitter when we started dating, so we had some funny experiences. I thought of him when I wrote that lyric.” She confirmed, “Yes, he would tweet in bed.”

Sheen announced he was quitting the social- media site and deleted his account yesterday. The “ Anger Management,” star joined Twitter in March 2011 and attracted more than a million followers in just 48 hours, entering the Guinness Book of Records as “The Fastest Time To Reach 1 Million Followers.”

“He was really excited about Twitter,” continues Olson. “I wasn’t offended by it at all,” she says of Sheen’s tweeting while horizontal. “I thought it was more funny than anything.”

Olson says the lyric “more jewelry than me but I don’t care” is also about the actor. “Charlie loves and cares about his jewelry very much,” she says, adding that she prefers to be “natural” with few accessories.

Other parts of the song are a composite of the men she has dated. “There’s bits of Charlie mixed in, intermingled with other guys I’ve had experiences with,” she tells us. “It’s just supposed to be a light, funny song about Hollywood in general.”

Olson will next be seen in “Not Another Celebrity Movie” as herself. Sheen will also appear in the flick. The pair dated during Sheen’s tiger-blood phase from early January 2011 to April 2011, and they remain on friendly terms. Sheen’s rep didn’t get back to us.