mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:54:01 +01: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 a new issue