An attorney and counselor has power to receive money claimed by his client in an action or proceeding during the pendency thereof, or afterwards, unless he has been previously discharged by his client, and, upon payment thereof, and not otherwise, to discharge the claim or acknowledge satisfaction of the judgment.
R.L.1910, § 245.