mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-01-30 08:24:20 +00:00
check if I2P enabled before SAM inialization
This commit is contained in:
parent
bbe0d699f3
commit
586df3f472
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user