Urge question – allowing or avoiding

This evening after dinner I opened the fridge and saw the pie my mother-in-law made me for my birthday. I proceeded to have a conversation with myself. Oh yum – my pie! I’ll have a piece for dessert. Oh wait, I’m not hungry. But I’m going to stay on protocol tomorrow so I need to have it tonight or I won’t get any more. But I’m full so I really won’t enjoy it. I can always plan for pie another day.
My question is, is this allowing or avoiding the urge when I have a conversation like this with myself?