A good OP can mitigate trolls by being a good thread manager. There is the factor of the userbase, but one must learn how to deal with it.
The best community and thread manager possesses traits of a troll. You must predict their behavior before they strike and modify it.
Rule of thumb: do not feed the trolls.