mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
More refactoring and some changes
* Move protocol safeSend() to send() * Bind some new functions * Refactor lots of enums
This commit is contained in:
@@ -59,8 +59,7 @@ void ModuleManager::autoLoadModules(int maxPriority)
|
||||
if(priority > maxPriority)
|
||||
break;
|
||||
ModulePtr module = pair.second;
|
||||
if(!module->isLoaded() && !module->load())
|
||||
g_logger.fatal("A required module has failed to load, cannot continue to run.");
|
||||
module->load();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user