Whether or not someone can understand a language is now handled entirely by the language check in mob/say_understands(). The way the old code was written makes me think it came before languages were implemented.