I think in this instance the sentence was correct, as Stealhead pointed out, he probably won't serve all of it anyway, and his actions resulted in a man being shot. I would love to say, though, that this sort of sentencing would discourage the action of 'Swatting' however knowing the youth of today (oh dear God, I've finally reached the age where I can say that...) it probably will just encourage them.