You're right, but technically tu quogue is a type of ad hominem attack. So OP used an ad hominem tu quoque fallacy to discredit the author.
Even though this might not be the strongest argument from a purely logic point of view, it can still be a valid critique on the author.