X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Firc.cpp;h=ecdafaaceaf8e261fc16199fa345f7a2b63a2fcd;hb=75744e6526193604bfbcc6be3a3793315556f12c;hp=57e7d88f50e821e6ee7b426bf42b0d6b0bd049d5;hpb=cd7e570c1f74a1f1ab1590ecbb09bd3bfcb363ea;p=novacoin.git diff --git a/src/irc.cpp b/src/irc.cpp index 57e7d88..ecdafaa 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -7,10 +7,7 @@ #include "base58.h" #include "net.h" -#include // for startswith() and endswith() - using namespace std; -using namespace boost; int nGotIRCAddresses = 0; @@ -336,7 +333,7 @@ void ThreadIRCSeed2(void* parg) { // index 7 is limited to 16 characters // could get full length name at index 10, but would be different from join messages - strName = vWords[7].c_str(); + strName = vWords[7]; printf("IRC got who\n"); } @@ -347,7 +344,7 @@ void ThreadIRCSeed2(void* parg) printf("IRC got join\n"); } - if (boost::algorithm::starts_with(strName, "u")) + if (strName.compare(0,1, "u") == 0) { CAddress addr; if (DecodeAddress(strName, addr))