From ef223f9cc125c1619139924abe3b6d1da0a5f837 Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Wed, 29 Jan 2025 10:54:48 -0800 Subject: [PATCH] Treat ERR_NOMOTD as registration completion --- client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client.cpp b/client.cpp index 713c549..8dac02d 100644 --- a/client.cpp +++ b/client.cpp @@ -175,6 +175,7 @@ auto Client::start(Connection &connection) -> std::shared_ptr thread->on_welcome(msg); break; case IrcCommand::RPL_ENDOFMOTD: + case IrcCommand::ERR_NOMOTD: thread->on_registered(); break; case IrcCommand::CAP: