Previously convicted felon pleads guilty to firearms charge