"not exploiting students for sex" is one of the most important qualifications for a teacher/prof.
Teachers have a responsibility to their students. They are in a privileged situation, and they can screw up a student's life if they decide to act on their fantasy.
If a prof isn't responsible enough to stop himself from viewing porn that exploits students on the computer he uses to teach students, he's throwing up warnings.