Comment
Comment by icedchai
Ask him to license the code for your new, related venture. Offer to pay him a percentage of revenue for that license. The risk here is the code isn't that great, so you're licensing something you're going to have to replace anyway.