No person shall be punished for an omission to perform an act when such act has been performed by another acting in his behalf, and competent to perform it.
[1909 c 249 § 23; RRS § 2275.]