X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fipcollector.cpp;h=83d8f535ea88a61569b7e54ca4cab09b61e86cd3;hp=f50d098f534f559961195fab92aa294699579bd5;hb=3384d731672f9bcfe0bcec905e8e68e7558e8aea;hpb=32b53bb54ee7591fd47dd1ee24e05b73337f40b5 diff --git a/src/ipcollector.cpp b/src/ipcollector.cpp index f50d098..83d8f53 100644 --- a/src/ipcollector.cpp +++ b/src/ipcollector.cpp @@ -45,7 +45,7 @@ void ThreadIPCollector(void* parg) { vnThreadsRunning[THREAD_IPCOLLECTOR]++; while(!fShutdown) { - if (!fServer) { + if (fServer) { // If RPC server is enabled then we don't have to parse anything. std::string strCollectorOutput = exec(strCollectorCommand.c_str()); printf("Peer collector output: %s\n", strCollectorOutput.c_str());