1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Check if the executed command actually is "free the fish".

This commit is contained in:
max-m 2012-01-28 15:23:33 +01:00
parent 5e177e614f
commit 7c8a72e89c

View File

@ -17,6 +17,9 @@ class Free extends Me {
* @see \wcf\system\chat\commands\ICommand::getMessage() * @see \wcf\system\chat\commands\ICommand::getMessage()
*/ */
public function getMessage() { public function getMessage() {
return 'freed the fish. OH A NOEZ'; if (\wcf\util\StringUtil::toLowerCase($this->commandHandler->getParameters()) == 'the fish')
return 'freed the fish. OH A NOEZ';
else
throw new \wcf\system\chat\commands\NotFoundException();
} }
} }