As to the desire of revenge it is sometimes with sin, i.e. when anyone seeks revenge beyond the order of reason: and in this way anger could not be in Christ, for this kind of anger is sinful.
 Thomas Aquinas, Summa Theologica (1274). copy citation

add
Author Thomas Aquinas
Source Summa Theologica
Topic anger revenge
Date 1274
Language English
Reference
Note Translated by Fathers of the English Dominican Province
Weblink http://www.gutenberg.org/cache/epub/19950/pg19950-images.html

Context

“For when sorrow is inflicted upon someone, there arises within him a desire of the sensitive appetite to repel this injury brought upon himself or others. Hence anger is a passion composed of sorrow and the desire of revenge. Now it was said (A. 6) that sorrow could be in Christ. As to the desire of revenge it is sometimes with sin, i.e. when anyone seeks revenge beyond the order of reason: and in this way anger could not be in Christ, for this kind of anger is sinful. Sometimes, however, this desire is without sin—nay, is praiseworthy, e.g. when anyone seeks revenge according to justice, and this is zealous anger. For Augustine says (on John 2:17) that "he is eaten up by zeal for the house of God, who seeks to better whatever He sees to be evil in it, and if he cannot right it, bears with it and sighs."” source