git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
c6f2a66
)
Removed dependency (boost::algorithm::starts_with)
279/head
author
svost
<svost@users.noreply.github.com>
Thu, 18 Feb 2016 19:45:37 +0000 (22:45 +0300)
committer
svost
<svost@users.noreply.github.com>
Thu, 18 Feb 2016 19:45:37 +0000 (22:45 +0300)
src/irc.cpp
patch
|
blob
|
history
diff --git
a/src/irc.cpp
b/src/irc.cpp
index
57e7d88
..
03bc607
100644
(file)
--- a/
src/irc.cpp
+++ b/
src/irc.cpp
@@
-7,10
+7,7
@@
#include "base58.h"
#include "net.h"
-#include <boost/algorithm/string/predicate.hpp> // for startswith() and endswith()
-
using namespace std;
-using namespace boost;
int nGotIRCAddresses = 0;
@@
-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))