All actions brought to enforce any fine, imprisonment, penalty, or forfeiture under any ordinance of any municipality, shall be brought in the corporate name of the municipality, as plaintiff. No prosecution, recovery, conviction, or acquittal, for the violation of any ordinance, shall constitute a defense to any other prosecution of the same party for any other violation of the same or any other ordinance, although the different causes of action existed at the same time, and, if united, would not have exceeded the jurisdiction of the court.
65 ILCS 5/1-2-7