Changed commanddescription for /vote

This commit is contained in:
Max Klaversma 2014-05-01 13:29:29 +02:00 committed by Steffen Schröder
parent 2a4ae861a2
commit 31e03730a8

View File

@ -102,7 +102,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
public function load(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl;
$this->maniaControl->commandManager->registerCommandListener('vote', $this, 'chat_vote', false, 'Votes for the current vote.');
$this->maniaControl->commandManager->registerCommandListener('vote', $this, 'chat_vote', false, 'Starts a new vote.');
$this->maniaControl->timerManager->registerTimerListening($this, 'handle1Second', 1000);
$this->maniaControl->callbackManager->registerCallbackListener(ServerCommands::CB_VOTE_CANCELED, $this, 'handleVoteCanceled');
$this->maniaControl->manialinkManager->registerManialinkPageAnswerListener(self::ACTION_POSITIVE_VOTE, $this, 'handlePositiveVote');