Skip to content

Commit

Permalink
fix for rtorrent 0.9.8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Novik committed Jul 20, 2019
1 parent 85d7a4f commit ec8d8f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ function correctContent()
"load" : { name: "load.normal", prm: 1 }
});
}
if(theWebUI.systemInfo.rTorrent.apiVersion>=10)
if(theWebUI.systemInfo.rTorrent.apiVersion>=11) // at current moment (2019.07.20) this is feature-bind branch of rtorrent
{
$.extend(theRequestManager.aliases,
{
Expand Down
2 changes: 1 addition & 1 deletion php/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function obtain()
$this->apiVersion = $req->val[0];
}

if($this->apiVersion >= 10)
if($this->apiVersion >= 11) // at current moment (2019.07.20) this is feature-bind branch of rtorrent
{
$this->aliases = array_merge($this->aliases,array
(
Expand Down

0 comments on commit ec8d8f1

Please sign in to comment.