"Talk to Moxxi" is an optional objective in the story mission The Talon of God in Borderlands 2
Walkthrough
Head into Moxxxis and go to the far side of the bar. You will find Moxxi there waiting for you. She will give you a SMG.
Dialogue
Moxxi: I've had just about enough of that handsome jackass, sugar. Get rid of him, and you'll never pay for another drink again.
Moxxi: Here - I got something for ya.