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 #3

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=3

magnetik commented 10 years ago

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

Already answer on issue 2

Status: Duplicate
Owner: melot.philippe
Mergedinto: 2