During NHL games, the home team is required to have an emergency goalie (or "ebug") in the building in case either team loses both of their goalies for whatever reason and Ayres was the guy for the Leafs. He'd practiced with the Leafs on many occasions in the past, but practice is practice. This was an actual NHL game.
David Ayres, the zamboni-driving Maple Leafs Sports and Entertainment employee, was credited with the win on the official game sheet and became overnight famous around the world.