WVC 37 - 6 - 23
§37-6-23. Effect of payment of rent or relief in equity.
If any party having a right or claim to such lands shall, at
any time before the trial in such action of ejectment or of
unlawful detainer, pay or tender to the party entitled to such
rent, or to his attorney in the cause, or pay into court, all the
rents and arrears, with interest and costs, all further
proceedings in the action shall cease. If the person claiming
the land shall, upon bill filed as aforesaid, be relieved in
equity, he shall hold the land as before the proceedings began,
without a new lease or conveyance.