mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
fixed crash at startup if addressbook is disbaled
This commit is contained in:
parent
c54fc7ee44
commit
9abc4cf359
@ -567,6 +567,7 @@ namespace client
|
||||
|
||||
void AddressBook::LoadLocal ()
|
||||
{
|
||||
if (!m_Storage) return;
|
||||
std::map<std::string, std::shared_ptr<Address>> localAddresses;
|
||||
m_Storage->LoadLocal (localAddresses);
|
||||
for (const auto& it: localAddresses)
|
||||
|
Loading…
Reference in New Issue
Block a user