aboutsummaryrefslogtreecommitdiff
path: root/irc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'irc.cpp')
-rw-r--r--irc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/irc.cpp b/irc.cpp
index b3993e7cd6..daa9a0db61 100644
--- a/irc.cpp
+++ b/irc.cpp
@@ -158,6 +158,10 @@ bool Wait(int nSeconds)
void ThreadIRCSeed(void* parg)
{
+ if (mapArgs.count("-connect"))
+ return;
+ if (mapArgs.count("-noirc"))
+ return;
printf("ThreadIRCSeed started\n");
int nErrorWait = 10;
int nRetryWait = 10;