The Wyoming Senate on Wednesday voted down a bill that would have repealed most gun-free zones in Wyoming.

The version of the bill passed by the state house would have allowed people with concealed carry permits to bring weapons into public buildings, including schools. The only exception would have been courtrooms. But the Senate Education Committee had amended the bill to allow local governing bodies--such as school boards, city councils and county commissions--to decide whether to allow firearms in their public buildings.

The original sponsor of the bill in the house, Rep Allen Jaggi (R-Lyman) has said he would rather see the bill defeated rather than have the amended version passed by the legislature.

Jaggi got his wish on Wednesday, as the  bill went down to defeat by a 25-3 margin with two senators absent. But the proposal may well be revived in future legislative sessions.