1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-10 00:30:09 +00:00

Use PreParser

This commit is contained in:
Tim Düsterhus 2013-03-16 20:22:06 +01:00
parent 293ffee46f
commit b3089dbfb6

View File

@ -103,6 +103,8 @@ public function validateSend() {
$this->parameters['type'] = Message::TYPE_NORMAL;
$this->parameters['receiver'] = null;
}
$this->parameters['text'] = PreParser::getInstance()->parse($this->parameters['text'], explode(',', WCF::getSession()->getPermission('user.chat.allowedBBCodes')));
}
/**