Every hotel proprietor shall have a lien upon all the baggage and effects brought into said hotel by his guests for any and all proper charges due him from such guests for hotel accommodations, and said hotel proprietor shall have the right to detain such baggage and effects until the amount of such charges shall have been fully paid, and unless such charges shall have been paid within sixty days from the time when the same accrued, said hotel proprietor shall have the right to sell such baggage and effects at public auction after giving ten days' notice of the time and place of such sale, by publication of such notice in a newspaper of general circulation in the county in which said hotel is situated, and also by mailing, ten days before such sale, a copy of such notice addressed to such guest at his post office address, if known to said hotel proprietor, and if not known, then to his place of residence registered by said guest in the register of such hotel; and after satisfying such lien out of the proceeds of such sale, together with any costs that may have been incurred in enforcing said lien, the residue of said proceeds of sale, if any, shall, within six months after such sale, on demand, be paid by said hotel proprietor to such guest; and if not demanded within six months from the date of such sale, such residue or remainder shall be deposited by such hotel proprietor with the county treasurer of the county in which such hotel is situated, together with a statement of such hotel proprietor's claim, the amount of costs incurred in enforcing the same, a copy of the published notice, and the amount received from the sale of said property so sold at said sale; and said residue shall, by said county treasurer, be accredited to the general revenue fund of said county, subject to the right of said guest or his representatives to reclaim the same at any time within three years from and after the date of such deposit with said county treasurer, and such sale shall be a perpetual bar to any action against said hotel proprietor for the recovery of such baggage or property, or of the value thereof, or for any damages growing out of the failure of such guest to receive such baggage or property.
740 ILCS 90/2