All such towns and cities may, by ordinance, provide for the inspection of all such places by some competent person appointed by the mayor or intendant and all persons conducting or operating such places shall at all times permit and allow inspections to be made of their premises by such inspectors. Any person who shall refuse to allow such inspection or who shall obstruct any officer whose duty it is to make such inspection shall be guilty of a misdemeanor and, upon conviction, shall be subject to such penalties as such towns or cities may impose by ordinance, not exceeding a fine of one hundred dollars or imprisonment for thirty days.
S.C. Code § 45-3-20