Sen. Ted CruzTed CruzSenate passes dozens of bills on way out of town Senate passes stopgap funding bill, averting shutdown Senate advances funding measure, avoiding shutdown MORE (R-Texas) jabbed President Obama on background checks and Syria on Wednesday night.

"President Obama announced that the United States is going to give weapons to the rebels in Syria," Cruz said during a panel at the Young Americans for Liberty's Annual National Convention. "I'll confess, my first reaction — we tweeted the simple question 'I wonder if President Obama is going to insist on a background check before he gives the rebels their weapons?' "

Cruz's jab is an allusion to President Obama's push earlier in the year to pass new laws expanding background checks on gun purchasers. But that effort failed to move beyond the Senate.

On Syria, Obama has received criticism from Tea Party Republicans and liberal Democrats in response to his decision to provide military support to Syrian rebels. In late June, House lawmakers introduced a trio of bills that aimed to limit funding the rebels.

Cruz was joined by Sens. Mike LeeMike LeeSenate sends annual defense bill to Obama's desk Overnight Healthcare: Medical cures bill finally heads to White House Overnight Energy: Trump taps EPA foe to head agency | Energy reform bill officially dead MORE (R-Utah) and Rand PaulRand PaulSunday shows preview: Trump sits down with Fox Trump stumps for Louisiana Senate candidate ahead of runoff Giuliani won't serve in Trump administration MORE (R-Ky.) at the event. The discussion touched on a range of issues, including what Senate Republicans would do if they retook their chamber in 2014. Paul said he was optimistic Republicans could pass legislation that would require an audit of the Federal Reserve if they gained control of the Senate.

"I think we have a really good chance, if we take over, of getting an audit the fed bill through," Paul said.