MISSOULA — A U.S. District Court judge in Montana has sentenced a 27-year-old man from Kelowna, B.C., to 18 months in prison for using fake names to buy guns with the aim of selling them in Canada.