mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-29 11:42:38 +00:00
moved AddressBook to ClientContext
This commit is contained in:
1 parent
a96d70a94c
commit
af997473b2
8 files changed
+20
-18
No files matched your search
+2
-2
@@ -1,7 +1,7 @@
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <boost/regex.hpp>
|
||||
|
||||
#include "NetDb.h"
|
||||
#include "ClientContext.h"
|
||||
#include "HTTPProxy.h"
|
||||
|
||||
namespace i2p
|
||||
@@ -74,7 +74,7 @@ namespace proxy
|
||||
{
|
||||
LogPrint ("Jump service for ", r.host, " found. Inserting to address book");
|
||||
auto base64 = r.uri.substr (addressPos + 1);
|
||||
i2p::data::netdb.GetAddressBook ().InsertAddress (r.host, base64);
|
||||
i2p::client::context.GetAddressBook ().InsertAddress (r.host, base64);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user