From 997c932e83ec27e3dc3e999d9c3390f818c58b77 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 5 Dec 2020 23:06:45 -0500 Subject: [PATCH] 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. --- handle.c | 1 + 1 file changed, 1 insertion(+) 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 },