1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-30 00:14:20 +00:00

check if I2P enabled before SAM inialization

This commit is contained in:
orignal 2017-04-12 19:40:49 -04:00
parent bbe0d699f3
commit 586df3f472

View File

@ -553,8 +553,11 @@ bool AppInit2(boost::thread_group& threadGroup)
#endif
#endif
uiInterface.InitMessage(_("Creating SAM session..."));
I2PSession::Instance ().Start ();
if (GetBoolArg("-i2p", false))
{
uiInterface.InitMessage(_("Creating SAM session..."));
I2PSession::Instance ().Start ();
}
// ********************************************************* Step 2: parameter interactions