McCain's past record on the 2nd amendment has been bad. However, he has been given the NRA "stamp of approval" in this election and is currently campaigning with a strong pro-2nd Amendment ticket. His current position is clearly stated on his website.
Compare this to Obama who has been given the brady bunch stamp of approval. The difference is quite clear.