Section 22 of the Civil Procedure Code

Chapter 101, 1956 edition, text as in the 1956 edition

22 . All objections for want of parties, or for joinder of parties who have no interest in the action, or for misjoinder as co- plaintiffs or co-defendants, shall be taken at the earliest possible opportunity, and in all cases before the hearing. And any such objection not so taken shall be deemed to have been waived by the defendant. *objections for non-joinder or misjoinder to be taken before hearing.*