maniaplanet / manialive

PHP controller for the ManiaPlanet Dedicated Server
GNU Lesser General Public License v3.0
9 stars 4 forks source link

[patch] kick player #2

Closed magnetik closed 10 years ago

magnetik commented 10 years ago

From petri.ja...@gmail.com on December 30, 2010 10:02:38

$player = Storage::GetInstance()->getPlayerObject($login); Connection::GetInstance()->kick($player);

will cause an invalid call 'kickId'

to fix, change line 881 on libraries\ManiaLive\DedicatedApi\Connection.php from return $this->execute('kickId', $params, $multicall); to return $this->execute('KickId', $params, $multicall);

Original issue: http://code.google.com/p/manialive/issues/detail?id=2

magnetik commented 10 years ago

From melot.philippe on December 30, 2010 01:10:08

Thanks for this tickets, it will be fixed soon

Status: Fixed
Owner: melot.philippe
Labels: Component-Logic Usability OpSys-All

magnetik commented 10 years ago

From melot.philippe on December 30, 2010 01:11:33

Issue 3 has been merged into this issue.

magnetik commented 10 years ago

From melot.philippe on December 30, 2010 01:14:12

The change has been committed on the SVN, you can now download the new Connection class in the Source tab