||This biographical article needs additional citations for verification. (October 2011)|
During the Libyan civil war, the national team played in a 2012 Africa Cup of Nations qualification game against Mozambique in Cairo, wearing a white kit, under a new flag and new anthem. Allafi scored the first goal for Libya which enabled Libya to beat Mozambique. Libya then qualified to the 2012 Africa Cup of Nations after a goalless draw with at Zambia.