0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

modules/s_listen: Start listener after loading iff run::level::RUN.

This commit is contained in:
Jason Volk 2019-03-17 15:29:15 -07:00
parent 21d8c9ce76
commit a9d8af1bf1

View file

@ -260,6 +260,10 @@ try
};
listeners.emplace_back(name, opts, client::create, _listener_proffer);
if(ircd::run::level == ircd::run::level::RUN)
start(listeners.back());
return true;
}
catch(const std::exception &e)