removed todo
This commit is contained in:
parent
cb9426536c
commit
d206c8ab2b
@ -229,7 +229,7 @@ class PlayerActions {
|
|||||||
$target = $this->maniaControl->playerManager->getPlayer($targetLogin);
|
$target = $this->maniaControl->playerManager->getPlayer($targetLogin);
|
||||||
$title = $this->maniaControl->authenticationManager->getAuthLevelName($admin->authLevel);
|
$title = $this->maniaControl->authenticationManager->getAuthLevelName($admin->authLevel);
|
||||||
|
|
||||||
$success = $this->maniaControl->client->query('Ban', $target->login, $message); // TODO bestätigung
|
$success = $this->maniaControl->client->query('Ban', $target->login, $message);
|
||||||
|
|
||||||
if (!$success) {
|
if (!$success) {
|
||||||
$this->maniaControl->chat->sendError('Error occurred: ' . $this->maniaControl->getClientErrorText(), $admin->login);
|
$this->maniaControl->chat->sendError('Error occurred: ' . $this->maniaControl->getClientErrorText(), $admin->login);
|
||||||
|
Loading…
Reference in New Issue
Block a user