Actor Joel McHale says he's flattered when people assume he's gay.

The 41-year-old McHale is best known for hosting cabler E! TV's The Soup and playing the role of Jeff Winger on the NBC comedy series Community.

McHale, who is married to Sarah Williams, told gay glossy The Advocate that people often assumed he's gay because he's a good dresser.

“Oh, I still see that on Twitter every day. It's flattering,” McHale said. “I always find it really weird when guys flip out over someone thinking they might be gay. If a guy gets offended by that, there's something's wrong with him. I take it as a compliment.”

“Much like in Say Anything, guys usually stand outside my house with a boombox over their head blasting the Indigo Girls,” McHale joked. “Actually, guys sometimes will tweet me, 'I'm in L.A. Staying at such-and-such hotel. What do you think?' Of course, it all depends on the quality of the hotel.”