You are right.
>>A weapon, especially a pistol or rifle, capable of firing a projectile and using an explosive charge as a propellant.<<
I guess it depends on what is meant by "explosive". But then, that is pretty clear as well unless an explosive temper is considered an "explosive".
But in describing firearms, they are using the word as a noun as opposed to an adjetive. It is the noun "explosive" that then creates the discharge. It is not an "explosive discharge" as much as an explosive substance discharging.