mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix AwayCommand
This commit is contained in:
parent
49ff71e8ee
commit
9ac860c9f1
@ -36,11 +36,4 @@ public function getType() {
|
||||
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…
Reference in New Issue
Block a user