1
0
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:
Adam
2011-04-26 19:13:51 -04:00
parent 076ebafa1b
commit e7887c1f01
26 changed files with 510 additions and 606 deletions
+3 -4
View File
@@ -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);