moved AddressBook to ClientContext

This commit is contained in:
orignal 2014-10-24 15:22:36 -04:00
parent a96d70a94c
commit af997473b2
8 changed files with 20 additions and 18 deletions

View file

@ -401,7 +401,7 @@ namespace client
i2p::data::IdentHash ident;
if (name == "ME")
SendNamingLookupReply (nullptr);
else if (m_Session && i2p::data::netdb.GetAddressBook ().GetIdentHash (name, ident))
else if (m_Session && context.GetAddressBook ().GetIdentHash (name, ident))
{
auto leaseSet = m_Session->localDestination->FindLeaseSet (ident);
if (leaseSet)