Heheh, yah, I was just going to reply, but Been there, Done that..
It's a safety thing, if gas is out or turned off, the fan will just blow for a bit, but the ignitor won't spark...
Sadly, you only learn it on a c-c-cold night, usually 3am or so
Happily, you are now past that "Issue" ...