diff options
| author | 2020-01-03 12:51:23 +0000 | |
|---|---|---|
| committer | 2020-01-03 12:51:23 +0000 | |
| commit | 45eff275cbc942a9b16f55367e6d5bd2bbfad2e0 (patch) | |
| tree | 99d01cfc0aba1b648e3e1896fa61707c8b20df61 /src/inspircd.cpp | |
| parent | Update my name and email address. (diff) | |
Bind ports before loading modules.
This fixes a defect introduced in ce7979bd7d where the ircv3_sts
module was unable to find the SSL listener.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 2035960bd..34a62d918 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -556,13 +556,13 @@ InspIRCd::InspIRCd(int argc, char** argv) std::cout << std::endl; + TryBindPorts(); + this->Modules->LoadAll(); // Build ISupport as ModuleManager::LoadAll() does not do it this->ISupport.Build(); - TryBindPorts(); - std::cout << "InspIRCd is now running as '" << Config->ServerName << "'[" << Config->GetSID() << "] with " << SocketEngine::GetMaxFds() << " max open sockets" << std::endl; #ifndef _WIN32 |
