diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-09-18 12:32:08 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-09-18 12:32:08 -0400 |
commit | fb8d5204e311c2d5462b80f2ad491327ae5402b8 (patch) | |
tree | 0c1c7fa55579fa0ca24784cd57dc796a62e5bd1c /node | |
parent | 9fe613805f31c3e57936939885d339740b437a79 (diff) | |
download | infinitytier-fb8d5204e311c2d5462b80f2ad491327ae5402b8.tar.gz infinitytier-fb8d5204e311c2d5462b80f2ad491327ae5402b8.zip |
Remove code to automatically join Earth -- network joins will now be user-initiated and manual.
Diffstat (limited to 'node')
-rw-r--r-- | node/NodeConfig.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/node/NodeConfig.cpp b/node/NodeConfig.cpp index bc1be763..885e9177 100644 --- a/node/NodeConfig.cpp +++ b/node/NodeConfig.cpp @@ -86,13 +86,6 @@ NodeConfig::NodeConfig(const RuntimeEnvironment *renv,const char *authToken,unsi } } - // TODO: - // This might go away eventually. This causes the LAN called Earth to be - // automatically joined if there are no other networks. This is for backward - // compatibility with the expectations of previous alpha users. - if (nwids.empty()) - nwids.insert(0x6c92786fee000001ULL); - for(std::set<uint64_t>::iterator nwid(nwids.begin());nwid!=nwids.end();++nwid) { try { SharedPtr<Network> nw(Network::newInstance(_r,*nwid)); |