From ceadc64351de626a0e5dc766a5c2efb11502b73a Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 5 Dec 2020 23:01:52 -0500 Subject: 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. --- state.c | 1 + 1 file changed, 1 insertion(+) (limited to 'state.c') diff --git a/state.c b/state.c index 59a61ed..14af068 100644 --- a/state.c +++ b/state.c @@ -333,6 +333,7 @@ static const struct { { "005", handleReplyISupport }, { "332", handleReplyTopic }, { "433", handleErrorNicknameInUse }, + { "437", handleErrorNicknameInUse }, { "900", handleReplyLoggedIn }, { "904", handleErrorSASLFail }, { "905", handleErrorSASLFail }, -- cgit 1.4.1