If the keeper of a hotel or tavern permit unlawful gaming at his house, or at any outhouse, booth, arbor, or other place appurtenant thereto or held therewith, he shall be guilty of a misdemeanor, and, upon conviction, be fined not less than $20 nor more than $100, and shall forfeit his license, and shall give security for his good behavior for one year, or, in default of such security, be imprisoned in the county jail not more than four months.