diff options
author | Witchspace <witchspace81@gmail.com> | 2010-12-24 10:25:21 +0100 |
---|---|---|
committer | Witchspace <witchspace81@gmail.com> | 2010-12-24 10:25:21 +0100 |
commit | 72b9861635dcdb9fd73b84bbb43b3f755bc9f64a (patch) | |
tree | 34be4b0e0e9fee049314bdf72b41ff0274b2de06 /irc.cpp | |
parent | 5f88e8887a31db68493334fc8e5652c5dd9cbf89 (diff) |
don't advertise on IRC if we don't allow external connections
Diffstat (limited to 'irc.cpp')
-rw-r--r-- | irc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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"); |