Help me process this?

-

I just ran into my ex best friend who ghosted me 3 years ago. I haven't heard a single word from her in 3 years, and she just came up to me all cheery and said, "Holy shit! I haven't seen you in so long! Can I give you a hug?"

I was not amused and made no attempt to look happy to see her. I wanted to say, "I don't want to hug you," but this was AT MY JOB and I had an enormous line of people to check in for our event. So, I wanted to just end this interaction as soon as possible. I leaned forward like 2 inches and gave her the weakest possible "hug" that only involved one arm. I barely tapped her shoulder blade and then I turned my attention away from her and back to doing my job.

Now I'm annoyed that I DIDN'T say, "I'm not going to hug you." I feel like I betrayed myself. Help me feel better about all this?