Treat ERR_NOMOTD as registration completion

This commit is contained in:
Eric Mertens 2025-01-29 10:54:48 -08:00
parent 5801a5404a
commit ef223f9cc1

View File

@ -175,6 +175,7 @@ auto Client::start(Connection &connection) -> std::shared_ptr<Client>
thread->on_welcome(msg); thread->on_welcome(msg);
break; break;
case IrcCommand::RPL_ENDOFMOTD: case IrcCommand::RPL_ENDOFMOTD:
case IrcCommand::ERR_NOMOTD:
thread->on_registered(); thread->on_registered();
break; break;
case IrcCommand::CAP: case IrcCommand::CAP: