Seizing on a report published by the New York Times earlier Sunday, President Barack Obama joked that Donald Trump’s campaign “had so little confidence in his self-control” that they took away his access to Twitter.

According to the Times report, members of Trump’s press team finally “wrested away” the Republican candidate’s access to Twitter, which previously served as an unfiltered channel for Trump to express his often colorful opinions.

“Apparently his campaign has taken away his Twitter,” a bemused Obama told the crowd at a campaign rally for Hillary Clinton in Kissimmee, Florida.

“In the last two days, they had so little confidence in his self-control they said we are just going to take away your Twitter. Now, if somebody can’t handle a Twitter account, they can’t handle the nuclear codes,” Obama said. “If somebody starts tweeting at three in the morning because SNL made fun of you, then you can’t handle the nuclear codes.”

Watch his riff below: