To my understanding, that code would've worked with all CTCP's including Version, up to, but not including 6.16

I'm not sure how, but when Khaled did the modifications for 6.16, he made it so that the Version reply will send back properly no matter what.