mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
don't advertise on IRC if we don't allow external connections
This commit is contained in:
parent
5f88e8887a
commit
72b9861635
1 changed files with 3 additions and 1 deletions
4
irc.cpp
4
irc.cpp
|
@ -257,8 +257,10 @@ void ThreadIRCSeed(void* parg)
|
|||
|
||||
void ThreadIRCSeed2(void* parg)
|
||||
{
|
||||
if (mapArgs.count("-connect"))
|
||||
/* Dont advertise on IRC if we don't allow incoming connections */
|
||||
if (mapArgs.count("-connect") || fNoListen)
|
||||
return;
|
||||
|
||||
if (GetBoolArg("-noirc"))
|
||||
return;
|
||||
printf("ThreadIRCSeed started\n");
|
||||
|
|
Loading…
Reference in a new issue