summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorC. McEnroe2020-12-05 23:06:45 -0500
committerC. McEnroe2020-12-05 23:06:45 -0500
commit997c932e83ec27e3dc3e999d9c3390f818c58b77 (patch)
treef9239d78b504ac431b832e6fdf9f5bdb3ee9a71f /handle.c
parentd6b4aed4df4ca8cae5024fabb84cb8ef6821f2cb (diff)
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.
Diffstat (limited to 'handle.c')
-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 },