about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-05 23:01:52 -0500
committerJune McEnroe <june@causal.agency>2020-12-05 23:01:52 -0500
commitceadc64351de626a0e5dc766a5c2efb11502b73a (patch)
tree428dc5dd1b13020e3689a6ab3b191a2c2ce1897c
parentUse uint64_t for save file signature (diff)
downloadpounce-ceadc64351de626a0e5dc766a5c2efb11502b73a.tar.gz
pounce-ceadc64351de626a0e5dc766a5c2efb11502b73a.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.
Diffstat (limited to '')
-rw-r--r--state.c1
1 files changed, 1 insertions, 0 deletions
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 },