An agreement in restraint of trade is not void as per Section 11(2) of the act as it states that a partner cannot perform any other business other than that of the firm while he is a partner in that firm.
This section is covered by EXCEPTION 1 of section 27 of the Indian contract act 1872.