Whoever having control of real property permits it to be used to maintain a public nuisance or lets the same knowing it will be so used is guilty of a misdemeanor.