It has nothing to do with a substitution reaction. You can say that you have overall done an addition reaction of acetic acid, but it was more the individual steps in the mechanism i was looking for. The first step is a simple protonation of the double bond, forming a carbocation intemediate. This carbocation intermediate then rearranges in what is called a Wagner-Meerwein rearrangement (this was what I was looking for in my question), to the second carbocation intermediate. The second carbocation intermediate is then trapped by the nucleophile to give the product.
Rico