mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 08:23:56 +01:00
ircd::server: Handle unfavorable runlevel in resolver callback.
This commit is contained in:
parent
0ed617c889
commit
a4f8cf83f6
1 changed files with 3 additions and 0 deletions
|
@ -920,6 +920,9 @@ try
|
|||
// The hostname in open_opts should still reference this object's string.
|
||||
assert(host(open_opts.hostport).data() == this->hostname.data());
|
||||
|
||||
if(unlikely(ircd::runlevel != ircd::runlevel::RUN))
|
||||
op_fini = true;
|
||||
|
||||
if(unlikely(finished()))
|
||||
return handle_finished();
|
||||
|
||||
|
|
Loading…
Reference in a new issue