Any person voting illegally at any municipal election held in said city shall be guilty of a misdemeanor, and be punished as prescribed by law for illegal voting in this state.