I'd buy a new derailleur hanger, if it's aluminum. Odds are good the one you have will be fine. However, they're cheap to replace, and by bending significantly, and bending it back you've fatigued it, and increased the likelihood that it will fail someday, potentially at an inapt time.
So replacing it when you have the chance is cheap insurance.
__________________
You could fall off a cliff and die.
You could get lost and die.
You could hit a tree and die.
OR YOU COULD STAY HOME AND FALL OFF THE COUCH AND DIE.