mirror of
https://github.com/matrix-construct/construct
synced 2024-06-10 22:18:54 +02:00
ircd::server: Handle unfavorable runlevel in resolver callback.
This commit is contained in:
parent
0ed617c889
commit
a4f8cf83f6
|
@ -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