Every tenant who is sued in ejectment by any person other than his or her landlord, shall forthwith give notice thereof to his or her landlord, or to his or her agent or attorney, under the penalty of forfeiting 2 years' rent of the premises involved, or the value thereof, to be recovered by such landlord by civil action.
735 ILCS 5/6-114