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.
weechat-hashes
C. McEnroe 2020-12-05 23:06:45 -05:00
parent d6b4aed4df
commit 997c932e83
1 changed files with 1 additions and 0 deletions

View File

@ -1302,6 +1302,7 @@ static const struct Handler {
{ "422", handleErrorNoMOTD }, { "422", handleErrorNoMOTD },
{ "432", handleErrorErroneousNickname }, { "432", handleErrorErroneousNickname },
{ "433", handleErrorNicknameInUse }, { "433", handleErrorNicknameInUse },
{ "437", handleErrorNicknameInUse },
{ "441", handleErrorUserNotInChannel }, { "441", handleErrorUserNotInChannel },
{ "443", handleErrorUserOnChannel }, { "443", handleErrorUserOnChannel },
{ "478", handleErrorBanListFull }, { "478", handleErrorBanListFull },