Well, he did the "free" part right, but the legal part not so much. Free and legal would include phpbb, mybb, smf, and a handful of others.
That said, it's your responsibility to do "due diligence" on what friends give you. A simple google search on what vbulletin was would've turned up no...