The University of Virginia Board of Visitors approved a regulation banning guns on campus Friday.

The university had previously banned weapons, fireworks and explosives on the school’s property — but according to Virginia Attorney Gen. Ken Cuccinelli, that policy did not extend to concealed carry permit holders. Cuccinelli wrote in July:

“Because the University adopted a policy rather than a regulation, it has not ‘otherwise prohibited by law’ persons with a concealed carry permit from possessing a handgun, and, therefore, the policies may not be used to prohibit persons with such a permit from carrying a concealed firearm into the buildings covered by the policy.”

The new regulation closes that loophole, and prohibits all weapons (including those of concealed carry permit holders) on university grounds.