Disabling Auto Reloading

How do I prevent a SWEP from an auto reload? (It auto reloads if you try to fire and you have no bullets left)