In a segment during his Real Time HBO program Friday, HBO's Bill Maher accused President Barack Obama of not acting like a "real black president" because he didn't "have a gun in his pants" when meeting with the CEO of oil giant BP, which is accused of being unprepared for the massive oil spill in the Gulf.

"I thought when we elected a black president, we were going to get a black president," Maher declared. "You know, this [BP oil spill] is where I want a real black president. I want him in a meeting with the BP CEOs, you know, where he lifts up his shirt where you can see the gun in his pants. That's -- 'we've got a motherfucking problem here?' Shoot somebody in the foot."

"Haw haw, all black people have guns," replied the popular blog Gawker. "Huh? The most offensive thing about this is that we can think of at least a half-dozen black stereotypes that would be much funnier as premises for this hacky joke."

The website Hip-Hop Wired asked readers if they thought the joke was racist, and got mixed replies.

"Of course it's racist," one commenter remarked. "He's basically implying that all black people walk around with guns in their over sized pants and say things 'we got a problem mother*****er?'

"Only he's a liberal so the liberal mainstream media and Hollywood liberals, all hypocrites, won't call it racist," the poster added.

Another took Maher's comments in stride. "I watch Bill Maher all the time..." the commenter wrote. "It's called comedy."

The video was highlighted on The Drudge Report, a conservative website which routinely lampoons liberal figures.

This video is from HBO's Real Time with Bill Maher, uploaded by Real Clear Politics on May 29, 2010.