Skip to content

Commit

Permalink
fix issue Novik#967
Browse files Browse the repository at this point in the history
  • Loading branch information
Novik committed Jan 16, 2015
1 parent f5a8a34 commit 6aa3395
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/rtorrent.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ rTorrentStub.prototype.ban = function()
cmd.addParameter("string",this.hashes[0]+":p"+this.vs[i]);
cmd.addParameter("i4",1);
this.commands.push( cmd );
cmd = new rXMLRPCCommand("p.disconnect_delayed");
cmd = new rXMLRPCCommand("p.disconnect");
cmd.addParameter("string",this.hashes[0]+":p"+this.vs[i]);
this.commands.push( cmd );
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/httprpc/action.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ function makeSimpleCall($cmds,$hash)
foreach($vs as $v)
{
$req->addCommand( new rXMLRPCCommand("p.banned.set", array($hash[0].":p".$v,1)) );
$req->addCommand( new rXMLRPCCommand("p.disconnect_delayed", $hash[0].":p".$v) );
$req->addCommand( new rXMLRPCCommand("p.disconnect", $hash[0].":p".$v) );
}
if($req->success())
$result = $req->val;
Expand Down

0 comments on commit 6aa3395

Please sign in to comment.