mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Battle.net: Implemented cache stream items
This commit is contained in:
@@ -51,7 +51,8 @@ void Battlenet::ModuleManager::Load()
|
||||
Battlenet::ModuleInfo* Battlenet::ModuleManager::CreateModule(std::string const& os, std::string const& name) const
|
||||
{
|
||||
ModuleKey key { os, name };
|
||||
ASSERT(_modules.count(key));
|
||||
if (!_modules.count(key))
|
||||
return nullptr;
|
||||
|
||||
return new ModuleInfo(*_modules.at(key));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user