Leave IRC enabled by default on testnet
[novacoin.git] / src / init.cpp
index f09f044..b2c59ec 100644 (file)
@@ -259,6 +259,11 @@ bool AppInit2(int argc, char* argv[])
     }
 
     fTestNet = GetBoolArg("-testnet");
+    if (fTestNet)
+    {
+        SoftSetBoolArg("-irc", true);
+    }
+
     fDebug = GetBoolArg("-debug");
 
 #if !defined(WIN32) && !defined(QT_GUI)