mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-21 20:59:02 +00:00
Empty commit
This commit is contained in:
parent
c166ade5a1
commit
d2d5642c7a
@ -292,14 +292,13 @@ function make_private() {
|
||||
unset($this->Val['libtorrent_resume']);
|
||||
|
||||
//----- End properties that do not affect the infohash
|
||||
|
||||
if ($this->Val['info']->Val['private']) {
|
||||
return true; // Torrent is private
|
||||
} else {
|
||||
// Torrent is not private!
|
||||
// add private tracker flag
|
||||
// add private tracker flag and sort info dictionary
|
||||
$this->Val['info']->Val['private'] = 1;
|
||||
|
||||
ksort($this->Val['info']->Val);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -288,9 +288,9 @@ function make_private() {
|
||||
return true;
|
||||
} else {
|
||||
// Torrent is not private!
|
||||
// add private tracker flag
|
||||
// add private tracker flag and sort info dictionary
|
||||
$this->Val['info']->Val['private'] = '[*INT*]1';
|
||||
|
||||
ksort($this->Val['info']->Val);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user