It shall be unlawful for any billiard room to maintain, or permit to be maintained, any open or secret connections, through doors, windows or trapdoors, panels, stairways, or other devices within any place where gambling is conducted or where persons congregate for immoral purposes.