Rabat - The Moroccan parliament adopted Wednesday the amended version of the anti-terrorism law aimed at punishing wannabe jihadists from joining extremist groups.