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