0
0
Fork 0
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:
Jason Volk 2018-09-17 21:05:55 -07:00
parent 0ed617c889
commit a4f8cf83f6

View file

@ -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();