ojii/txircd — pull request #8 by ElementalAlchemist (2012-09-16 17:37:28+00:00)
Title: Send 005 using bits of information we have lying around

Pretty simple this time: I've decided to start sending some 005 stuff based on information we have lying around (i.e. the allowed channel types and supported prefix information).

The "rfc1459" casemapping refers to the irc_lower function we use for lowercase, which I doubt is changing anytime soon. CHANTYPES and PREFIX both send information to clients, and I don't think STATUSMSG is actually implemented yet, but it'll be easiest to do so with all of the prefixes. (STATUSMSG is the feature where you can send to just the ops with @#help.)
I'm still pondering whether or not I want to put NAMESX in there, or if it should just be through CAP. I don't think it should be too hard to just catch that PROTOCTL line, though.