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 },
00:12:08 -0400'>2018-08-07Make safe filling the who bufferJune McEnroe 2018-08-07Add reverse and reset IRC formatting codesJune McEnroe 2018-08-06Rewrite line editing again, add formattingJune McEnroe 2018-08-06Fix allocation size in vaswprintfJune McEnroe 2018-08-06Implement word wrappingJune McEnroe 2018-08-06Use wchar_t strings for all of UIJune McEnroe 2018-08-06Rename line editing functionsJune McEnroe 2018-08-05Initialize all possible color pairsJune McEnroe 2018-08-05Refactor color initializationJune McEnroe 2018-08-05Add ^L redrawJune McEnroe 2018-08-05Use 16 colors if availableJune McEnroe 2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe 2018-08-04Show source link on exitJune McEnroe 2018-08-04Implement line editing, scrollingJune McEnroe 2018-08-04Handle /topicJune McEnroe