That is a carbide lamp. The caves in this area are so massive we just never worried about unsafe gasses. We were also in known caves... sometimes pushing new passages, but doing so in familiar caves. In smaller tighter caves we would use electric lamps so we didn't mark the ceiling with soot. I have heard about caves with gas issues, and knew cavers who carried lighters with them, but never encountered them personally.