342. Whoever wrongfully confines any person shall be punished with imprisonment for a term which may extend to one year or with fine which may extend to two thousand ringgit or with both.