Most of the people I work with would be more a danger to themselves if armed than a deterrent to terrorism. If a terrorist knows there is a gun on board, why bother trying to smuggle one through security? I'm convinced it's only a matter of time until we have an incident where an armed pilot shoots out a window or shoots a steward as he brings in the coffee....
If you want to play with guns then join the military.