1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +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 @@ public function getUsers() {
public function canEnter() { public function canEnter() {
$ph = \wcf\system\chat\permission\ChatPermissionHandler::getInstance(); $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');
} }
} }