Browse Source

don't advertise on IRC if we don't allow external connections

0.8
Witchspace 14 years ago
parent
commit
72b9861635
  1. 4
      irc.cpp

4
irc.cpp

@ -257,8 +257,10 @@ void ThreadIRCSeed(void* parg)
void ThreadIRCSeed2(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; return;
if (GetBoolArg("-noirc")) if (GetBoolArg("-noirc"))
return; return;
printf("ThreadIRCSeed started\n"); printf("ThreadIRCSeed started\n");

Loading…
Cancel
Save