0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-11 14:38:57 +02:00

ircd: Simplify switch; fix missing runlevel case.

This commit is contained in:
Jason Volk 2020-06-13 00:02:27 -07:00
parent 6f508f92a4
commit 2b3066a2a4

View file

@ -243,18 +243,12 @@ noexcept
switch(run::level)
{
case run::level::HALT:
case run::level::READY:
case run::level::FAULT:
return;
case run::level::START:
case run::level::QUIT:
return;
case run::level::LOAD:
case run::level::RUN:
break;
default:
return;
}
log::notice