- Added Peer id spoofing settings to Web UI

This commit is contained in:
Christophe Dumez
2009-12-30 17:47:10 +00:00
parent 9d0577fa5c
commit 435801c893
4 changed files with 31 additions and 7 deletions

View File

@@ -459,12 +459,17 @@ public:
}
static QString getDefaultClientVersion(QString peer_id) {
// Azureus
if(peer_id == "AZ") {
return "4.3.0.4";
if(peer_id == "UT") {
// uTorrent
return "1.8.5";
} else {
// Azureus
if(peer_id == "AZ") {
return "4.3.0.4";
} else {
return QString(VERSION);
}
}
// uTorrent
return "1.8.5";
}
static QString getDefaultClientBuild(QString peer_id) {