about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-05 23:06:45 -0500
committerJune McEnroe <june@causal.agency>2020-12-05 23:06:45 -0500
commit997c932e83ec27e3dc3e999d9c3390f818c58b77 (patch)
treef9239d78b504ac431b832e6fdf9f5bdb3ee9a71f
parentSplit /exec lines by \r as well as \n (diff)
downloadcatgirl-997c932e83ec27e3dc3e999d9c3390f818c58b77.tar.gz
catgirl-997c932e83ec27e3dc3e999d9c3390f818c58b77.zip
Handle 437 ERR_UNAVAILRESOURCE like ERR_NICKNAMEINUSE
Not totally clear under what conditions 437 is returned, but if it
happens during registration, we should pick a new nick.
-rw-r--r--handle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/handle.c b/handle.c
index 9c37f34..a8f9ede 100644
--- a/handle.c
+++ b/handle.c
@@ -1302,6 +1302,7 @@ static const struct Handler {
 	{ "422", handleErrorNoMOTD },
 	{ "432", handleErrorErroneousNickname },
 	{ "433", handleErrorNicknameInUse },
+	{ "437", handleErrorNicknameInUse },
 	{ "441", handleErrorUserNotInChannel },
 	{ "443", handleErrorUserOnChannel },
 	{ "478", handleErrorBanListFull },
td>2021-01-12Remove hacky tagging from hilexJune McEnroe 2021-01-12Add htagml -iJune McEnroe 2021-01-12Render tag index in HTMLJune McEnroe 2021-01-12Add htagml -xJune McEnroe 2021-01-12Prevent matching the same tag twiceJune McEnroe 2021-01-12Process htagml file line by lineJune McEnroe 2021-01-12Split fields by tab onlyJune McEnroe 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe 2021-01-09Add c -t flag to print expression typeJune McEnroe 2021-01-05Update taglineJune McEnroe