inspircd/inspircd — pull request #207 by Robby- (2012-06-12 04:27:20+00:00)
Title: [1.2] 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 the '[' and ']' character 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.