summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC. McEnroe2021-01-28 15:31:00 -0500
committerC. McEnroe2021-01-28 15:31:00 -0500
commit75b0c022273399ec1ed792627aaae5bd7b5e4b68 (patch)
treeff672b61751890961a53cb912cd6cf70b5912cbc
parent422fe6cd29ce014270cf8bfd6f5bcad59ce2a0ca (diff)
Add 335 to WHOIS responses
This is used by InspIRCd to indicate if a user is a bot (if it set user mode +B).
-rw-r--r--handle.c1
1 files changed, 1 insertions, 0 deletions
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 },