mirror of
https://github.com/matrix-construct/construct
synced 2024-06-28 14:58:20 +02:00
modules/s_listen: Start listener after loading iff run::level::RUN.
This commit is contained in:
parent
21d8c9ce76
commit
a9d8af1bf1
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue