Did you have your friend run netstat on his computer?
What trojan was it?
Is it possible your friend was playing a joke on you? (him having another aim screenname)