1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-02 01:44:26 +00:00

- Spoof latest Azureus version instead of Vuze

This commit is contained in:
Christophe Dumez 2008-07-09 22:42:04 +00:00
parent 8e5190ffc8
commit 8bc470e427

View File

@ -50,7 +50,7 @@ bittorrent::bittorrent() : timerScan(0), DHTEnabled(false), preAllocateAll(false
// Check if we should spoof azureus
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
if(settings.value(QString::fromUtf8("AzureusSpoof"), false).toBool()) {
s = new session(fingerprint("AZ", 3, 1, 1, 0));
s = new session(fingerprint("AZ", 3, 0, 5, 2));
} else {
s = new session(fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0));
}