Add 335 to WHOIS responses

This is used by InspIRCd to indicate if a user is a bot (if it set
user mode +B).
master
C. McEnroe 2021-01-28 15:31:00 -05:00
parent 422fe6cd29
commit 75b0c02227
1 changed files with 1 additions and 0 deletions

View File

@ -1275,6 +1275,7 @@ static const struct Handler {
{ "330", +ReplyWhois, handleReplyWhoisGeneric }, { "330", +ReplyWhois, handleReplyWhoisGeneric },
{ "331", -ReplyTopic, handleReplyNoTopic }, { "331", -ReplyTopic, handleReplyNoTopic },
{ "332", 0, handleReplyTopic }, { "332", 0, handleReplyTopic },
{ "335", +ReplyWhois, handleReplyWhoisGeneric },
{ "341", 0, handleReplyInviting }, { "341", 0, handleReplyInviting },
{ "346", +ReplyInvex, handleReplyInviteList }, { "346", +ReplyInvex, handleReplyInviteList },
{ "347", -ReplyInvex, NULL }, { "347", -ReplyInvex, NULL },