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:
commit
7e616fed77
@ -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');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user