Haha yeah okay it's out of the classroom that he said it 
Yes, it was outside of the classroom in an email. Here's exactly what was said according to another article:
"Howell, who taught Introduction to Catholicism and Modern Catholic Thought, says he was fired at the end of the spring semester after sending an e-mail explaining some Catholic beliefs to his students preparing for an exam.
"Natural Moral Law says that Morality must be a response to REALITY," he wrote in the e-mail. "In other words, sexual acts are only appropriate for people who are complementary, not the same."
An unidentified student sent an e-mail to religion department head Robert McKim on May 13, calling Howell's e-mail "hate speech." The student claimed to be a friend of the offended student. The writer said in the e-mail that his friend wanted to remain anonymous.
"Teaching a student about the tenets of a religion is one thing," the student wrote. "Declaring that homosexual acts violate the natural laws of man is another."
Howell said he was teaching his students about the Catholic understanding of natural moral law.
"My responsibility on teaching a class on Catholicism is to teach what the Catholic Church teaches," Howell said in an interview with The News-Gazette in Champaign.
"I have always made it very, very clear to my students they are never required to believe what I'm teaching and they'll never be judged on that."