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:
parent
8f9057c7b8
commit
cd1e04cd8a
@ -38,6 +38,7 @@ class ColorCommand extends \chat\system\command\AbstractCommand {
|
|||||||
|
|
||||||
public function __construct(\chat\system\command\CommandHandler $commandHandler) {
|
public function __construct(\chat\system\command\CommandHandler $commandHandler) {
|
||||||
parent::__construct($commandHandler);
|
parent::__construct($commandHandler);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
list($color[1], $color[2]) = explode(' ', $commandHandler->getParameters());
|
list($color[1], $color[2]) = explode(' ', $commandHandler->getParameters());
|
||||||
}
|
}
|
||||||
|
@ -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();
|
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()
|
* @see \chat\system\command\ICommand::getType()
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user