Except as provided in this chapter, no person shall maintain an action in any court of this state for the recovery of a commission, fee, or compensation for any act done, the doing of which is prohibited under this chapter to other than licensed brokers, unless that person was licensed under this chapter as a broker at the time of the doing of the act.
R.I. Gen. Laws § 5-20.5-21