No, there was no vote.
What happened was they did NOT vote on another 1 year extension to the drilling ban as had been done for years. They let it expire when the last ban ended without any vote.
There was both a congressional ban and presidential ban. President Bush first reversed the executive order. Then the congress did not act to extend their ban.
Depends on your POV:
http://www.foxnews.com/politics/2008/09/24/house-votes-end-ban-offshore-oil-drilling/