diff options
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/init.cpp b/src/init.cpp index c508b75ea..039067191 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -331,6 +331,9 @@ void Init(int ac, char **av) throw FatalException("Configuration file failed to validate"); } + /* Initialize the socket engine */ + SocketEngine::Init(); + /* Add IRCD Protocol Module; exit if there are errors */ if (protocol_module_init()) throw FatalException("Unable to load protocol module"); @@ -341,10 +344,6 @@ void Init(int ac, char **av) /* Add Encryption Modules */ ModuleManager::LoadModuleList(Config->EncModuleList); - /* Load the socket engine */ - if (ModuleManager::LoadModule(Config->SocketEngine, NULL) || !SocketEngine) - throw FatalException("Unable to load socket engine " + Config->SocketEngine); - /* Add Database Modules */ ModuleManager::LoadModuleList(Config->DBModuleList); |