Add numerics 307 and 379 to route_replies for whois

UnrealIRCd (at least version Unreal3.2.10+) sends numerics 307 and 379 on whois if the client is an IRCop.
These are non-rfc and they can be seen documented here: https://www.alien.net.au/irc/irc2numerics.html
This commit is contained in:
NuclearW
2014-07-21 18:58:00 -04:00
parent b1b3888231
commit 658252948a
+3 -1
View File
@@ -25,7 +25,7 @@ struct reply {
// TODO this list is far from complete, no errors are handled
static const struct {
const char *szRequest;
struct reply vReplies[16];
struct reply vReplies[18];
} vRouteReplies[] = {
{"WHO", {
{"402", true}, /* rfc1459 ERR_NOSUCHSERVER */
@@ -74,6 +74,8 @@ static const struct {
{"338", false}, /* RPL_WHOISACTUALLY -- "actually using host" */
{"378", false}, /* RPL_WHOISHOST -- real address of vhosts */
{"671", false}, /* RPL_WHOISSECURE */
{"307", false}, /* RPL_WHOISREGNICK */
{"379", false}, /* RPL_WHOISMODES */
{"318", true}, /* rfc1459 RPL_ENDOFWHOIS */
{"401", true}, /* rfc1459 ERR_NOSUCHNICK */
{"402", true}, /* rfc1459 ERR_NOSUCHSERVER */