about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-28 15:31:00 -0500
committerJune McEnroe <june@causal.agency>2021-01-28 15:31:00 -0500
commit75b0c022273399ec1ed792627aaae5bd7b5e4b68 (patch)
treeff672b61751890961a53cb912cd6cf70b5912cbc
parentMove threshold and mute indicators directly after number (diff)
downloadcatgirl-75b0c022273399ec1ed792627aaae5bd7b5e4b68.tar.gz
catgirl-75b0c022273399ec1ed792627aaae5bd7b5e4b68.zip
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 },