mirror of
https://github.com/anope/anope.git
synced 2026-07-02 13:53:12 +02:00
Unmodularized the socket engine because its causing problems and really is unnecessary
This commit is contained in:
+3
-4
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user