Twenty-one-gun salute is given to heads of state who are the Commanders-in-Chief at the time of their death (die in office).
However, the current Commander-in-Chief, who is President Kenyatta, can decide that Moi be buried in military uniform for his role as Commander-in-Chief during his 24-year rule.
In that case, he will be accorded the 21-gun salute.
nairobinews.nation.co.ke
However, the current Commander-in-Chief, who is President Kenyatta, can decide that Moi be buried in military uniform for his role as Commander-in-Chief during his 24-year rule.
In that case, he will be accorded the 21-gun salute.

Why Moi will get 19-gun salute and not 21 during his State Funeral – VIDEO
News,Gossip,Sports and Entertainment from Nairobi.