If it came through as you described, then he did CTCP you. I would say it's a faulty script.
As I understand it, you cannot halt the [nick VERSION] from showing, other than by ignoring ctcps. I have tried, and even made a feature suggestion to allow stopping that, though I can't seem to locate it via the search page.
ctcp *:*:*: {
echo -at $nick sent you a CTCP: $1-
halt
}
This code looks like it should keep it from displaying, right? Wrong. It stops anything
except version from showing the old way. I am assuming that it is in some way related to the fact that you can't keep /halt the version reply from going out. This is still a behavior that I want changed (the displaying, not the replying).