mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 10:22:30 +00:00
fixed crash
This commit is contained in:
1 parent
588c613043
commit
b8740c008b
1 file changed
+2
-1
@@ -415,7 +415,8 @@ namespace client
|
||||
SendNamingLookupReply (m_Session->localDestination->GetIdentity ());
|
||||
else if (context.GetAddressBook ().GetAddress (name, identity))
|
||||
SendNamingLookupReply (identity);
|
||||
else if (context.GetAddressBook ().GetIdentHash (name, ident))
|
||||
else if (m_Session && m_Session->localDestination &&
|
||||
context.GetAddressBook ().GetIdentHash (name, ident))
|
||||
{
|
||||
auto leaseSet = i2p::data::netdb.FindLeaseSet (ident);
|
||||
if (leaseSet)
|
||||
|
||||
Reference in new issue
Block a user