From 75b0c022273399ec1ed792627aaae5bd7b5e4b68 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Thu, 28 Jan 2021 15:31:00 -0500 Subject: Add 335 to WHOIS responses This is used by InspIRCd to indicate if a user is a bot (if it set user mode +B). --- handle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/handle.c b/handle.c index eae5451..c3faa05 100644 --- a/handle.c +++ b/handle.c @@ -1275,6 +1275,7 @@ static const struct Handler { { "330", +ReplyWhois, handleReplyWhoisGeneric }, { "331", -ReplyTopic, handleReplyNoTopic }, { "332", 0, handleReplyTopic }, + { "335", +ReplyWhois, handleReplyWhoisGeneric }, { "341", 0, handleReplyInviting }, { "346", +ReplyInvex, handleReplyInviteList }, { "347", -ReplyInvex, NULL }, -- cgit 1.4.1-2-gfad0