It shall be unlawful for any person to discharge a firearm at night, unless such person is a law enforcement officer discharging his duties, or a citizen defending his home, property, person or liberty against threatened or imminent attack, or is permitted to discharge a firearm by regulations of the state department of natural resources.