1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Fix useless override

This commit is contained in:
Tim Düsterhus 2013-04-23 16:40:46 +02:00
parent 8f9057c7b8
commit cd1e04cd8a
2 changed files with 1 additions and 7 deletions

View File

@ -38,6 +38,7 @@ class ColorCommand extends \chat\system\command\AbstractCommand {
public function __construct(\chat\system\command\CommandHandler $commandHandler) {
parent::__construct($commandHandler);
try {
list($color[1], $color[2]) = explode(' ', $commandHandler->getParameters());
}

View File

@ -79,13 +79,6 @@ public function checkPermission() {
if (!$ph->getPermission($this->room, 'mod.can'.str_replace(array('chat\system\command\commands\\', 'Command'), '', get_class($this)))) throw new \wcf\system\exception\PermissionDeniedException();
}
/**
* @see chat\system\command\ICommand::getReceiver()
*/
public function getReceiver() {
return parent::getReceiver();
}
/**
* @see \chat\system\command\ICommand::getType()
*/