If you're going to correct someone, get it right. Homographs have the same spelling but different meaning. Homophones have the same sound but different meaning. Historically, a homonym was both a homograph and a homophone. Nowadays, homonym can be used to mean either homograph or homophone. So homonym was correct for modern usage.