inspircd/inspircd — pull request #209 by Robby- (2012-06-12 04:30:39+00:00)
Title: [2.1] m_check: Include IP and gecos in host/IP-mask lookups

Following a conversation about the parsability of '/STATS L' and '/STATS l' for bots or scripts (and even for humans actually) when users can have both the '[' and ']' characters in both their nickname and username, which is a nightmare to parse because of that, and rather than make a new module for this, I decided to simply add the IP (and while I was at it, also the gecos) to the output of a host/IP-mask lookup when using /CHECK.

This should not break any existing scripts or bots that use /CHECK, and if it does, they should be easily fixed.