do reload

This commit is contained in:
Jeff Becker 2016-07-25 10:28:20 -04:00
parent 4dc9f6948d
commit 1e1c4d159b
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -202,11 +202,8 @@ namespace client
void ClientContext::ReloadConfig ()
{
/*
std::string config; i2p::config::GetOption("conf", config);
i2p::config::ParseConfig(config);
*/
//I don't think we can just reload the main config without making a mess of things, so holding off for now.
std::string config; i2p::config::GetOption("conf", config);
i2p::config::ParseConfig(config);
Stop();
Start();
}