aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-01-26 19:00:02 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2012-01-26 19:00:02 +0100
commit70f55355e29c8e45b607e782c5d76609d23cc858 (patch)
tree3013bee1a1b7dde5b9dfc72508c2716122e84b5d /src/init.cpp
parent4c932cca6f579bfb11e0144415c3004d382b8e42 (diff)
parent7d145a0f591dab109eae9adcfaf59303cce0431a (diff)
Merge pull request #593 (Full URL Support in bitcoin-qt)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 837d73f959..d237e247e7 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -273,7 +273,7 @@ bool AppInit2(int argc, char* argv[])
#ifndef QT_GUI
for (int i = 1; i < argc; i++)
- if (!IsSwitchChar(argv[i][0]))
+ if (!IsSwitchChar(argv[i][0]) && !(strlen(argv[i]) > 7 && strncasecmp(argv[i], "bitcoin:", 8) == 0))
fCommandLine = true;
if (fCommandLine)