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

Check permissions in RefreshRoomList

This commit is contained in:
Tim Düsterhus 2011-12-26 12:45:05 +01:00
parent f231ce5aae
commit 91bab27535

View File

@ -47,6 +47,7 @@ public function show() {
@header('Content-type: application/json');
$json = array();
foreach ($this->rooms as $room) {
if (!$room->canEnter()) continue;
$json[] = array(
'title' => WCF::getLanguage()->get($room->title),
'link' => \wcf\system\request\LinkHandler::getInstance()->getLink('Chat', array(