This would be the fallacy of equivocation.

http://www.intrepidsoftware.com/fallacy/equiv.htm

Remember that next time someone pulls that "just a theory" flaff.