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