1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-22 02:00:40 +00:00

Merge branch 'master' of github.com:wbbaddons/Tims-Chat

This commit is contained in:
Tim Düsterhus 2012-03-04 15:27:08 +01:00
commit 7e616fed77

View File

@ -138,6 +138,6 @@ class ChatRoom extends \wcf\data\DatabaseObject implements \wcf\system\request\I
public function canEnter() {
$ph = \wcf\system\chat\permission\ChatPermissionHandler::getInstance();
return $ph->getPermission($this, 'canEnter') || $ph->getPermission($this, 'canAlwaysEnter');
return $ph->getPermission($this, 'user.canEnter') || $ph->getPermission($this, 'mod.canAlwaysEnter');
}
}