mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-22 02:00:40 +00:00
Fix AwayCommand
This commit is contained in:
parent
49ff71e8ee
commit
9ac860c9f1
@ -36,11 +36,4 @@ class AwayCommand extends \chat\system\command\AbstractCommand {
|
||||
public function getMessage() {
|
||||
return \wcf\system\bbcode\PreParser::getInstance()->parse($this->commandHandler->getParameters(), explode(',', WCF::getSession()->getPermission('user.chat.allowedBBCodes')));
|
||||
}
|
||||
|
||||
/**
|
||||
* @see \chat\system\command\ICommand::getReceiver()
|
||||
*/
|
||||
public function getReceiver() {
|
||||
return WCF::getUser()->userID;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user