Skip to content

Commit ec8d8f1

Browse files
committed
fix for rtorrent 0.9.8 compatibility
1 parent 85d7a4f commit ec8d8f1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

js/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ function correctContent()
10431043
"load" : { name: "load.normal", prm: 1 }
10441044
});
10451045
}
1046-
if(theWebUI.systemInfo.rTorrent.apiVersion>=10)
1046+
if(theWebUI.systemInfo.rTorrent.apiVersion>=11) // at current moment (2019.07.20) this is feature-bind branch of rtorrent
10471047
{
10481048
$.extend(theRequestManager.aliases,
10491049
{

php/settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function obtain()
183183
$this->apiVersion = $req->val[0];
184184
}
185185

186-
if($this->apiVersion >= 10)
186+
if($this->apiVersion >= 11) // at current moment (2019.07.20) this is feature-bind branch of rtorrent
187187
{
188188
$this->aliases = array_merge($this->aliases,array
189189
(

0 commit comments

Comments
 (0)