N.C. Gen. Stat. § 42-73
Collection of rent.
§ 42-73. Collection of rent.
A landlord shall be entitled to collect rent due and owing with knowledge of any illegal acts that violate the provisions of this act without such collection constituting a waiver of the alleged defaults.