The trigger of the Glock was modified to allow it to fire like an automatic weapon, according to the sheriff's office.