From: <arn...@us...> - 2007-12-13 20:32:17
|
Revision: 938 http://dcplusplus.svn.sourceforge.net/dcplusplus/?rev=938&view=rev Author: arnetheduck Date: 2007-12-13 12:32:16 -0800 (Thu, 13 Dec 2007) Log Message: ----------- advertise base support Modified Paths: -------------- dcplusplus/trunk/dcpp/AdcHub.cpp dcplusplus/trunk/dcpp/ConnectionManager.cpp Modified: dcplusplus/trunk/dcpp/AdcHub.cpp =================================================================== --- dcplusplus/trunk/dcpp/AdcHub.cpp 2007-12-13 20:15:27 UTC (rev 937) +++ dcplusplus/trunk/dcpp/AdcHub.cpp 2007-12-13 20:32:16 UTC (rev 938) @@ -208,7 +208,7 @@ return; } else if(!tigrOk) { oldPassword = true; - // What now? Some hubs fake BASE support without TIGR support =/ + // Some hubs fake BASE support without TIGR support =/ fire(ClientListener::StatusMessage(), this, "Hub probably uses an old version of ADC, please encourage the owner to upgrade"); } } @@ -292,7 +292,7 @@ token = tok; } } else { - // <= 0.703 would send an empty token for passive connections... + // <= 0.703 would send an empty token for passive connections when replying to RCM } bool secure = false; @@ -678,7 +678,7 @@ sid = 0; AdcCommand cmd(AdcCommand::CMD_SUP, AdcCommand::TYPE_HUB); - cmd.addParam(BAS0_SUPPORT).addParam(TIGR_SUPPORT); + cmd.addParam(BAS0_SUPPORT).addParam(BASE_SUPPORT).addParam(TIGR_SUPPORT); if(BOOLSETTING(HUB_USER_COMMANDS)) { cmd.addParam(UCM0_SUPPORT); Modified: dcplusplus/trunk/dcpp/ConnectionManager.cpp =================================================================== --- dcplusplus/trunk/dcpp/ConnectionManager.cpp 2007-12-13 20:15:27 UTC (rev 937) +++ dcplusplus/trunk/dcpp/ConnectionManager.cpp 2007-12-13 20:32:16 UTC (rev 938) @@ -43,6 +43,7 @@ features.push_back(UserConnection::FEATURE_TTHF); adcFeatures.push_back("AD" + UserConnection::FEATURE_ADC_BAS0); + adcFeatures.push_back("AD" + UserConnection::FEATURE_ADC_BASE); adcFeatures.push_back("AD" + UserConnection::FEATURE_ADC_TIGR); adcFeatures.push_back("AD" + UserConnection::FEATURE_ADC_BZIP); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |