Story highlights Clinton lost her temper Thursday when activists asked her to "reject fossil fuel money"

In 2008, Clinton ran a 30-second ad hitting then-Sen. Barack Obama on the same issue

Syracuse, New York (CNN) Hillary Clinton, currently defending herself from environmental critics for accepting money from employees at oil and gas companies, hit then-Sen. Barack Obama for doing the same thing in 2008.

Clinton lost her temper at an event on Thursday when activists from Greenpeace and 350 Action, two environmental organization, asked her to "reject fossil fuel money" and not accept donations from the gas and oil industry. "I'm so sick of the Sanders' campaign lying about me. I'm sick of it," Clinton said.

In response to the confrontation, Nick Merrill, Clinton's spokesman, said the candidate "has not taken a dollar from oil and gas industry PACs or corporations." Clinton's campaign, in fact, has not received any money directly from oil and gas companies, as that would violate election law.

But during her 2008 presidential campaign against Obama, Clinton ran a 30-second ad hitting the then senator for the same thing.

"You've seen the ad," says a narrator before cutting to a separate ad of Obama saying, "I don't take one from oil companies."

Read More