Hillary Clinton. REUTERS/David Becker Democratic presidential candidate Hillary Clinton's team thinks the National Rifle Association did her a favor on Monday.

The NRA tweeted that her rival, Bernie Sanders, was right when he and Clinton debated a gun-policy bill the night before.

"Sen. Sanders was spot-on in his comments about gun manufacturer liability/PLCAA," the NRA tweeted.

The NRA was referring to Sanders' support for the 2005 Protection of Lawful Commerce-In-Arms act, which partially shielded gun manufacturers from lawsuits from victims of gun violence.

The NRA posted an attached image quoting Sanders' defense of his position during Sunday night's Democratic debate in Flint, Michigan.

"What you're really talking about is ending gun manufacturing in America. I don't agree with that," Sanders said.

Clinton has repeatedly hammered Sanders for voting on the bill that protected gun manufacturers. During Sunday's debate, Clinton noted her vote against the PLCAA while serving in the US Senate.

"That is an issue that Sen. Sanders and I differ on," Clinton said. "I voted against giving them immunity, but I think we should very seriously move to repeal that and go back to making sure gun makers and sellers are like any other business. They can be held accountable."

On Monday, much of Clinton's communications team pounced on the NRA's tweet: